Skip to content

Commit

Permalink
Merge pull request #11 from jcavalieri/exit-code-fix
Browse files Browse the repository at this point in the history
Fixed: Gem push error code being lost
  • Loading branch information
jstastny authored Jul 19, 2022
2 parents a7f4da1 + edc085f commit 964589f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ cd "${WORKING_DIRECTORY:-.}"
echo "Building the gem"
find . -name '*.gemspec' -maxdepth 1 -exec gem build {} \;
echo "Pushing the built gem to GitHub Package Registry"
find . -name '*.gem' -maxdepth 1 -exec gem push --key github --host "https://rubygems.pkg.github.com/${OWNER}" {} \;
find . -name '*.gem' -maxdepth 1 -print0 | xargs -0L1 gem push --key github --host "https://rubygems.pkg.github.com/${OWNER}"

0 comments on commit 964589f

Please sign in to comment.