-
Notifications
You must be signed in to change notification settings - Fork 20.5k
Build: Verify release using dist repo tarball #5719
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
base: main
Are you sure you want to change the base?
Conversation
|
Ran reproducible builds workflow to test: https://github.com/jquery/jquery/actions/runs/19000703415/job/54267017128 No changes were needed on the 4.0.0-rc.1 tag itself, only with the script used to verify. |
dd5416e to
0fc8167
Compare
- get the blog URL from the dist repo README and use that to run release:dist
0fc8167 to
c6866c3
Compare
mgol
left a comment
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 haven't tested it (I assume you have), but code changes look good to me!
|
@mgol I realized there could be a race condition. Because the dist tag is pushed after the main repo tag, it could run the workflow before the dist tag exists. I made it so it falls back to cloning the main branch. This should make it so verify works during a release whether the tag is there or not, but still support verifying previous releases (>= 4.0.0-rc.1). |
1f605db to
aadc9b5
Compare
More changes are coming so I'll dismiss my review for now.
mgol
left a comment
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.
Thank you!
Summary
npm run release:distfrom the build.Fixes gh-5693
Checklist