Skip to content

Instantly share code, notes, and snippets.

@hollodotme
Last active June 24, 2021 20:30
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hollodotme/edc4d4613ca602e70d242eae8b0a25cc to your computer and use it in GitHub Desktop.
Save hollodotme/edc4d4613ca602e70d242eae8b0a25cc to your computer and use it in GitHub Desktop.

Signing github releases

git config --global user.signingkey you@email.domain

# Now you can make a release as normal, but with a signed commit.
git tag -s v0.1 -m "the best version yet"

# The only difference here is the -s. 
# Before you upload the tag be sure to check your signature with 
git tag --verify v0.1.

# Push it
git push --tags origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment