remorses / bump-version

Action to bump version files
36 stars 12 forks source link

Question: how to specify what to increment #4

Closed LiorBanai closed 4 years ago

LiorBanai commented 4 years ago

Hi, I would like to use this action but not sure how to setup it correctly. How do I specific what to increment (major,minor, path)? Can this be an manual triggered like https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/#:~:text=You%20can%20now%20create%20workflows,the%20workflow%20is%20run%20on.

remorses commented 4 years ago

It does only patch bumps

I use this actions to always create a new version for every push, this way i can use the code just pushed on other projects

If i want to do a major bump i just change the version in VERSION file

remorses commented 4 years ago

I never tried workflow_dispatch, it should work i think

LiorBanai commented 4 years ago

Oh I see. Thanks!