Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade bump-version workflow #17

Merged
merged 13 commits into from
Jul 2, 2024
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
Loading