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

semver generation #16

Open
franiglesias opened this issue Aug 5, 2018 · 5 comments
Open

semver generation #16

franiglesias opened this issue Aug 5, 2018 · 5 comments
Labels
backlog Not too important, but worth noting. enhancement New feature or request

Comments

@franiglesias
Copy link
Owner

I'm thinking that current command could accept --semver option and generate the .semver file with the current version

versiontag current --semver
versiontag current -s
@franiglesias franiglesias added enhancement New feature or request backlog Not too important, but worth noting. labels Aug 5, 2018
@franiglesias franiglesias changed the title server generation semver generation Aug 5, 2018
@pkristian
Copy link
Collaborator

in default do not create semver stuff, only with theese params :)

@franiglesias
Copy link
Owner Author

Another aspect to take into account is a good workflow, to avoid unnecessary commits. Ideas:

  • major|minor|patch --semver to generate the new .semver file without updating the tag. (cons: posible unsync with the tagged version)
  • major|minor|patch --semver updates tag and .semver file, pushing both (this doesn't work id pushing to master is restricted, so.. could it work in a branch?

Is it good idea to tag a commit in a branch?

@pkristian
Copy link
Collaborator

i am not certrain which way will be better, hovewer consider this facts:

  • project can have different versions developed in same time, so it brings Different sets of versions #8 to attention and make tags in branches relevant
  • if user want create commit, i will be in favor of paramterer --commit | -c to expicitly give order to create it and minimize unexpected behovouir

@franiglesias
Copy link
Owner Author

Agree with -c|--commit

I need some background with different versions at same time, II need to clarify workflows

@pkristian
Copy link
Collaborator

for example this project have that: https://github.com/dg/dibi/branches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Not too important, but worth noting. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants