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

Add Version manager #9

Open
azukaar opened this issue Jun 5, 2019 · 0 comments
Open

Add Version manager #9

azukaar opened this issue Jun 5, 2019 · 0 comments

Comments

@azukaar
Copy link
Owner

azukaar commented Jun 5, 2019

Add a CLI tool to manage version of the package

# bump the version

g version minor
g version major
g version patch

Use (already included) : https://godoc.org/github.com/Masterminds/semver

  • Add a --commit option to commit the version change directly (Need to use something like https://github.com/src-d/go-git)

  • The publish command would have the same flags (minor major patch) that would bump the version before publishing if used

  • The version cli command can be hooked

  • Add versionChange() script function (see getDependency function on how to call a provider the JsVM) (with minor/major/patch argument)

  • Add semverBump() that take a string and return the bumped string (with minor/major/patch argument)

@azukaar azukaar added Next Question Further information is requested and removed Need more details labels Jun 6, 2019
This was referenced Jun 20, 2019
@azukaar azukaar changed the title Add Version manager CLI Add Version manager Jul 17, 2019
@azukaar azukaar added Need doc and removed Question Further information is requested labels Jul 17, 2019
@azukaar azukaar added this to the 1.3.0 milestone Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant