Skip to content

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

@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 :)

@wolviecb wolviecb requested a review from spacewander November 25, 2019 16:57
bin/git-release Outdated
-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

@wolviecb wolviecb requested a review from spacewander November 26, 2019 07:33
@spacewander spacewander merged commit 292149c into tj:master Nov 26, 2019
@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