-
Notifications
You must be signed in to change notification settings - Fork 400
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
ci: add support for releasing with signed tags #2473
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
tools/release.sh
Outdated
@@ -46,7 +49,17 @@ git config user.name "Dracut Release Bot" | |||
git config user.email "<>" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might need to re-think what should be the commit user.name and user.email for signed tags.
Perhaps only set user.name and user.email if it is not already set
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make this script more versatile so that it can be used by more people not just by repository admin, we should make taging optional and perhaps not tag by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say tags are quite a standard as of now. Dropping them would be counterproductive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently only the two admins (and no other user or bot or any kind of Github Action) that can tag (either signed or unsigned) a commit in the upstream repo. For everyone else, this script would fail (to push the tag).
Project members with only write access to the github repo do not have permission to push git tags (to any git branches).
LGTM. |
2cca955
to
b89dbb9
Compare
Now that tools/release.sh supports all steps described in RELEASE.md, update RELEASE.md and point it to release.sh as the canonical manual way to make a release.
Now that tools/release.sh supports all steps described in RELEASE.md, update RELEASE.md and point it to release.sh as the canonical manual way to make a release.
Automates fix for #1850