Skip to content

Commit

Permalink
Skip release process if doesn't have Bump to on the commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermef committed Jan 30, 2022
1 parent 02a0492 commit b7b5949
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
release:
name: release
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'Bump to')"
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ filters: ['blur(20)', 'watermark(http://my.site.com/img.png,-10,-10,50)'] # arra

If you need more info on what each option does, check thumbor's documentation at https://thumbor.readthedocs.io/en/latest/index.html.

## Uploading to Rubygems
To upload a new version to Rubygems, simply update the version on the file `lib/thumbor/version.rb` then use the commit message `Bump to <new version>`, this will trigger the release process on Github actions.


## License
(The MIT License)

Expand Down

0 comments on commit b7b5949

Please sign in to comment.