Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signed release #798

Merged
merged 1 commit into from
Nov 26, 2019
Merged

Signed release #798

merged 1 commit into from
Nov 26, 2019

Conversation

wolviecb
Copy link
Contributor

This PR adds support for gpg signed tags for the git-release command

git release -s 1

Will generate a tag 1 signed by the default gpg key

git release -u key-id 1

Will generate a tag 1 signed by key-id

bin/git-release Show resolved Hide resolved
@spacewander
Copy link
Collaborator

@wolviecb
Please squash the commits into one before we can merge it, thanks!

@wolviecb
Copy link
Contributor Author

Changes made, commits squashed, thx for the feedback :)

bin/git-release Outdated
@@ -34,6 +34,17 @@ if test $# -gt 0; then
-c) need_changelog=true;;
-r) remote=$2; shift ;;
-m) msg=$2; shift ;;
-s)
test -n "$keyid" &&
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A little cavil: please indent the -s) block like the --semver) one below.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

bin/git-release Outdated
sign=true
;;
-u)
test -n "$sign" &&
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@spacewander
Copy link
Collaborator

@wolviecb
Merged. Thanks!

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.

2 participants