Skip to content

Commit 0ae7daf

Browse files
committed
Commit given version on release for rake command
1 parent 150140f commit 0ae7daf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,11 @@ jobs:
3535
sed -i "s/VERSION = \".*\"/VERSION = \"$VERSION\"/" lib/line/bot/api/version.rb
3636
3737
cat lib/line/bot/api/version.rb
38+
39+
# commit
40+
git config user.name github-actions
41+
git config user.email [email protected]
42+
43+
git add lib/line/bot/api/version.rb
44+
git commit -m "Set version to $VERSION"
3845
- uses: rubygems/release-gem@v1

0 commit comments

Comments
 (0)