Skip to content

Add automatic changelog generation#1

Merged
mroth merged 2 commits intomasterfrom
changelog-support
May 11, 2019
Merged

Add automatic changelog generation#1
mroth merged 2 commits intomasterfrom
changelog-support

Conversation

@mroth
Copy link
Copy Markdown
Owner

@mroth mroth commented May 9, 2019

With this, bump will now query the GitHub API to get a list of commits since the previous release, and show a summary to the user in the CLI to aide in selecting the appropriate semver. Once forwarding to browser to draft actual release, a Markdown formatted version of the changelog is automated populated into the body field.

@mroth
Copy link
Copy Markdown
Owner Author

mroth commented May 9, 2019

Sample CLI output running locally:

$ bump 
🌻 Latest release of mroth/bump: 0.1.0 (published 2019 May 7)
Changes since previous release:

  - docs: remove completed TODOs from README
  - docs: add links and fix header hierarchy in README
  - docs: add LICENSE file
  - docs: minor README edits

Use the arrow keys to navigate: ↓ ↑ → ← 
? Select semver increment to specify next version: 
  ▸ patch (0.1.1)
    minor (0.2.0)
    major (1.0.0)

@mroth
Copy link
Copy Markdown
Owner Author

mroth commented May 11, 2019

Seems to be working good enough for now, can always edit exact text later. Will need to re-record demo video and screenshots for README, but might as well wait and see if any other changes land first.

@mroth mroth marked this pull request as ready for review May 11, 2019 22:19
@mroth mroth merged commit 5108dd1 into master May 11, 2019
@mroth mroth deleted the changelog-support branch May 11, 2019 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant