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 next-version command #28

Merged
merged 2 commits into from
Mar 24, 2022
Merged

Add next-version command #28

merged 2 commits into from
Mar 24, 2022

Conversation

wagoodman
Copy link
Contributor

Adds the ability to speculate what the next release version might be from the set of changes discovered. This is expressed as two new features:

  1. Adding a next-version command
# last github release: v0.1.0 
# state: one bug and one feature added since v0.1.0

$ chronicle next-version .
v0.2.0
  1. Allow the create command to speculate the next version instead of report "unreleased"
# same release / repo state from (1)

$ chronicle > /tmp/changelog-1.txt
$ chronicle -n > /tmp/changelog-2.txt
# diff /tmp/changelog-1.txt /tmp/changelog-2.txt
3c3
< ## [(Unreleased)](https://github.com/wagoodman/chronicle-test/tree/4e685278ed9a268806c4d7fe534d2d58d6ca0d70) (2022-03-24)
---
> ## [v0.2.0](https://github.com/wagoodman/chronicle-test/tree/v0.2.0) (2022-03-24)
5c5
< [Full Changelog](https://github.com/wagoodman/chronicle-test/compare/v0.1.0...4e685278ed9a268806c4d7fe534d2d58d6ca0d70)
---
> [Full Changelog](https://github.com/wagoodman/chronicle-test/compare/v0.1.0...v0.2.0)

@wagoodman wagoodman added the enhancement New feature or request label Mar 24, 2022
@wagoodman wagoodman merged commit e5be035 into main Mar 24, 2022
@wagoodman wagoodman deleted the add-next-version-cmd branch March 24, 2022 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant