Skip to content

Commit

Permalink
Force version reload
Browse files Browse the repository at this point in the history
For some reason, the version number is not correct the first time a command is run with `bundle exec rake` after the `version:bump:*` commands are run.
  • Loading branch information
mscottford committed Sep 7, 2023
1 parent d9fdad7 commit 0dd69fe
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,16 @@ jobs:
&& github.ref == 'refs/heads/main'
&& github.repository == 'corgibytes/freshli-commons'
&& !contains(toJSON(github.event.commits.*.message), '[skip release]')
run: bundle exec rake version:bump:patch
run: |
bundle exec rake version:bump:patch
- name: Setup upterm session
uses: lhotari/action-upterm@v1
with:
## limits ssh access and adds the ssh public key for the user which triggered the workflow
limit-access-to-actor: true
## limits ssh access and adds the ssh public keys of the listed GitHub users
limit-access-to-users: mscottford
- name: Force version reload
if: github.event_name == 'push'
&& github.ref == 'refs/heads/main'
&& github.repository == 'corgibytes/freshli-commons'
&& !contains(toJSON(github.event.commits.*.message), '[skip release]')
run: |
bundle exec rake -T
- name: Release to Rubygems
if: github.event_name == 'push'
Expand Down

0 comments on commit 0dd69fe

Please sign in to comment.