Skip to content

Commit

Permalink
Commit given version on release for rake command
Browse files Browse the repository at this point in the history
  • Loading branch information
Yang-33 committed Nov 15, 2024
1 parent 150140f commit 0ae7daf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,11 @@ jobs:
sed -i "s/VERSION = \".*\"/VERSION = \"$VERSION\"/" lib/line/bot/api/version.rb
cat lib/line/bot/api/version.rb
# commit
git config user.name github-actions
git config user.email [email protected]
git add lib/line/bot/api/version.rb
git commit -m "Set version to $VERSION"
- uses: rubygems/release-gem@v1

0 comments on commit 0ae7daf

Please sign in to comment.