Skip to content

Commit

Permalink
Upgrade bump-version workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcioFPaludo committed Jul 2, 2024
1 parent f5d584c commit 6c593dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,22 @@ jobs:
with:
ruby-version: 2.6.10

- name: Bundle Install
run: bundle check || bundle install -j 20

- name: Bump Version
id: bump_version
run: |
rake version:${{ inputs.bump_version }}
- name: Commit and push changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add lib/version.rb
git commit -m "Bump version to ${{ steps.bump_version.outputs.new_version }}"
git push
- name: Create new tag
run: |
new_version=${{ steps.bump_version.outputs.new_version }}
Expand Down

0 comments on commit 6c593dc

Please sign in to comment.