Skip to content

Commit

Permalink
Merge pull request #7 from nephroflow/master
Browse files Browse the repository at this point in the history
Support publishing multiple gems in the same directory
  • Loading branch information
jstastny authored Mar 14, 2022
2 parents 1e465d2 + a98cb95 commit 6ed3890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ echo ":github: Bearer ${GITHUB_TOKEN}" >> ~/.gem/credentials
cd "${WORKING_DIRECTORY:-.}"

echo "Building the gem"
gem build *.gemspec
find . -name '*.gemspec' -maxdepth 1 -exec gem build {} \;
echo "Pushing the built gem to GitHub Package Registry"
gem push --key github --host "https://rubygems.pkg.github.com/${OWNER}" ./*.gem
find . -name '*.gem' -maxdepth 1 -exec gem push --key github --host "https://rubygems.pkg.github.com/${OWNER}" {} \;

0 comments on commit 6ed3890

Please sign in to comment.