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 helper commands to release major, minor and patch versions #16

Open
Tracked by #37
megawubs opened this issue Oct 19, 2019 · 1 comment
Open
Tracked by #37

Add helper commands to release major, minor and patch versions #16

megawubs opened this issue Oct 19, 2019 · 1 comment
Assignees
Labels
2.x enhancement New feature or request

Comments

@megawubs
Copy link
Collaborator

Right now we have to manually set the new version number. This is something that is not always on the top of mind and has to be searched. Instead I would like to see the following:

changelog:patch-release: Releases a new version where the patch version number is automatically upped by one

changelog:minor-release: Releases a new version where the minor version number is automatically upped by one

changelog:major-release Releases a new version where the major version number is automatically upped by one

Any thoughts on this?

@markwalet
Copy link
Owner

markwalet commented Oct 23, 2019

I agree, this methods should be implemented.

I think we should swap the naming of these commands:

  • changelog:release-patch
  • changelog:release-minor
  • changelog:release-major

Some functional requirements that come to mind:

  • The command should at least output the new version number, it can be appended with a list of changes that are moved to the new version.
  • There should be a --generate (not sure about naming) to autogenerate the new changelog file. (Described in Automatically write the changelog.md file after an release or change #15)
  • The command should not create a new tag for git. This should be done manually.

@markwalet markwalet self-assigned this Mar 19, 2020
@markwalet markwalet added the enhancement New feature or request label Mar 19, 2020
@markwalet markwalet added the 2.x label Mar 31, 2022
@markwalet markwalet mentioned this issue Mar 31, 2022
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants