Skip to content

Instantly share code, notes, and snippets.

@NathanUrwin
Last active March 17, 2018 12:05
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/dc8a252f4aba664da290aa8f3e034674 to your computer and use it in GitHub Desktop.
Save NathanUrwin/dc8a252f4aba664da290aa8f3e034674 to your computer and use it in GitHub Desktop.

How to make a GitHub repo release

Extra Requirements

1. Close issues

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

2. Tag latest commit and publish release

$ git tag -s -a v1 -m "Version 1"
$ git push --tags

Then, navigate to https://github.com/yourgithubusername/your-repo-slug/releases/new to publish. (TODO: CLI way?)

3. Update Change Log

$ github_changelog_generator -u yourgitusername -p your-repo-slug
$ git commit -m "Update CHANGELOG.md"
$ git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment