changelog icon indicating copy to clipboard operation
changelog copied to clipboard

Offer an option to release current version

Open MoOx opened this issue 10 years ago • 1 comments

Sometimes you upgrade directly the package.json version (or some people with good intention make a PR with an updated version).

That would be nice to be able to make a release without specifying a version. Obviously if a tag with the version is already existing, you can throw an error OR you can create a patch release. You can

  • if no version/keyword provided
    • read package.json version
    • if no tag fit the version, you create do your job from this version
    • if a tag already exist, you make bump as a patch
  • if version/keyword provided
    • do you job

the keyword idea is #3 I used this in the past using mversion. But I stopped using it because I found myself updating changelog.md with version number by hand before using a automatic bumper for package.json

This issue + #3 + #9 would make me use this tool like yesterday ! If you are open, I can give you a hand.

Anyway thanks for this.

MoOx avatar Feb 25 '15 11:02 MoOx

I am open to improvements. I think #3 is a good idea and we might have settled on the CLI flags to use for that iirc. I would love PRs for #3, #9.

A PR for this would help since it would provide an actual implementation to try and see if it is working well. I think a --force flag could be used for something like this. Happy to see other ideas.

defunctzombie avatar Feb 25 '15 16:02 defunctzombie