Skip to content

Commit c6c6315

Browse files
Merge pull request #11 from ionos-cloud/bugfix/gem-release-flow-8
Add version update step to release workflow with automatic git commit
2 parents 98f72e6 + bf77184 commit c6c6315

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,12 @@ jobs:
123123
run: bundle install
124124

125125
- name: Update version from git tag
126-
run: bundle exec rake version
126+
run: |
127+
bundle exec rake version
128+
git config user.name "github-actions[bot]"
129+
git config user.email "github-actions[bot]@users.noreply.github.com"
130+
git add lib/archsight/version.rb
131+
git commit -m "Release ${GITHUB_REF#refs/tags/}"
127132
128133
- name: Build and publish gem
129134
uses: rubygems/release-gem@v1

0 commit comments

Comments
 (0)