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

ci: add support for releasing with signed tags #2473

Closed
wants to merge 1 commit into from

Conversation

Henrik66
Copy link
Contributor

@Henrik66 Henrik66 commented Aug 5, 2023

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

Copy link
Collaborator

@LaszloGombos LaszloGombos left a comment

Choose a reason for hiding this comment

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

lgtm

@LaszloGombos LaszloGombos added this to the dracut-060 milestone Aug 10, 2023
tools/release.sh Outdated
@@ -46,7 +49,17 @@ git config user.name "Dracut Release Bot"
git config user.email "<>"
Copy link
Collaborator

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

Copy link
Collaborator

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.

Copy link
Contributor

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.

Copy link
Collaborator

@LaszloGombos LaszloGombos Aug 26, 2023

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).

@pvalena
Copy link
Contributor

pvalena commented Aug 26, 2023

LGTM.

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.
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.

4 participants