Skip to content

Instantly share code, notes, and snippets.

@matt-dray
Created May 24, 2024 14:21
Show Gist options
  • Save matt-dray/e832cc486f13b496869cf76b7d1f4651 to your computer and use it in GitHub Desktop.
Save matt-dray/e832cc486f13b496869cf76b7d1f4651 to your computer and use it in GitHub Desktop.
Quick step-by-step to tag and release via GitHub
  1. On the repo homepage, click the text 'Releases' in the right-hand section.
  2. Click the 'Draft a new release' button (upper-right).
  3. Click the 'Choose a tag' button (upper-left). This is going to 'tag' this point in the Git history with the version number.
  4. Type in the box the version you're releasing, e.g. 'v0.1.1'.
  5. Click '➕ Create new tag: v0.1.1 on publish' that appears under the box.
  6. Click 'Generate release notes', which will autoname the release with the tag autofill the notes with a bullet per PR since the last release
  7. Click 'Publish release' button (lower-right) to publish the release and add the tag to the version history.
  8. Return to the repo's homepage, where you'll see that the version number has incremented under the 'Releases' section.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment