Skip to content

Instantly share code, notes, and snippets.

@NathanUrwin
Last active December 10, 2018 22:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NathanUrwin/d9cbf642abc1d7930ec48c6312c6dc2f to your computer and use it in GitHub Desktop.
Save NathanUrwin/d9cbf642abc1d7930ec48c6312c6dc2f to your computer and use it in GitHub Desktop.

Requirements

1. Close issues

$ ghi close 1
$ git commit -m "Fix for #1"
$ git push

2. Bump version

Contents of .bumpversion.cfg:

[bumpversion]
current_version = 0.0.0
commit = True
tag = True

[bumpversion:file:README.md]
[bumpversion:file:VERSION]


$ bump2version minor
$ git push

3. Generate changelog

$ github_changelog_generator -u NathanUrwin -p project-slug
$ git add -A
$ git commit -m "Generate changelog: v0.1.0"
$ git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment