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

bump action #7

Open
mh-cbon opened this issue Apr 17, 2018 · 2 comments
Open

bump action #7

mh-cbon opened this issue Apr 17, 2018 · 2 comments

Comments

@mh-cbon
Copy link

mh-cbon commented Apr 17, 2018

Hi guys,

Have you considered an action to bump a version ?

Right now i have to deal with a version number stored into some text files, and then bump it to its next patch, to procude some stuff (packer images right now).

I was hoping to grep some.. | vert bump patch in order to make a one liner.

However the operation is not available, have any thoughts ?

Thanks

@xzyfer
Copy link

xzyfer commented Apr 29, 2019

This is what I came looking for

@mh-cbon
Copy link
Author

mh-cbon commented May 24, 2019

@xzyfer

it should be fairly easy to implement as semver package already implements the increment actions

https://github.com/Masterminds/semver/blob/master/version.go#L169

maybe we should fork ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants