-
-
Notifications
You must be signed in to change notification settings - Fork 532
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
GPG sign tags #350
Comments
Hi, @StevenBlack. There is a flexible Clearly, the docs could have been more helpful. |
Thanks Lars @webpro! Sorry for taking so long to get back to this. I configured my release.json just as you suggest and it worked great! Thank you! |
Hello, i have been playing around with release-it since in our of the projects I'm involved in we want to start creating Github releases that are signed. So far release-it seems like the best option to automate this process a bit but in its current state there is no possibility to sign tags created by release-it. This results in a state where commits created by release-it are singed correctly but the releases and tags themselves are unsigned. This cannot be done even by configuring git since its configuration to force sign tags gets overridden when using So it would be greatly appreciated if you could add the Hope to hear from you soon. Regards Marek |
A PR would be great, happy to help make this happen.
On Fri, 16 Nov 2018 at 18:45, Marek Roštár ***@***.***> wrote:
Hello, i have been playing around with release-it since in our of the
projects I'm involved in we want to start creating Github releases that are
signed. So far release-it seems like the best option to automate this
process a bit but in its current state there is no possibility to sign tags
created by release-it.
This results in a state where commits created by release-it are singed
correctly but the releases and tags themselves are unsigned. This cannot be
done even by configuring git since its configuration to force sign tags
gets overridden when using --annotate which is unsigned.
So it would be greatly appreciated if you could add the src.tagArgs or
some other form to add GPG signature to tags as well as commits. If you are
short on time since this should be a quick fix i could add this option
based on how src.commitTags are added and create a pull request with this
feature.
Hope to hear from you soon. Regards Marek
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#350 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAb26nSvSkZ-CY2VzWQCCHbExBWi3Bfgks5uvvm4gaJpZM4WSs-l>
.
--
Sent from Gmail Mobile
|
Alright should have one ready at some point tomorrow. |
@RostarMarek release-it can sign, see my .release-it.json file for example. This is what I use and it works flawlessly. |
Thanks, @StevenBlack! Both commits and tags can be signed (according to https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work). I've just added |
Thanks guys. |
No problem, @RostarMarek! I wanted to get v8 out the door, and this took only little efforts to include. |
Hi Lars! I'm experimenting with GPG signing commits, and I notice release-it doesn't support the
[-S[<keyid>]]
option forgit commit
, nor the--sign
option ongit tag
.See, for example, Signing tags using GPG.
I'm just experimenting for now, and since release-it is in my workflow, it would be nice if it supported signing commits should I decide to sign in regular practice.
The text was updated successfully, but these errors were encountered: