Uh oh!
There was an error while loading. Please reload this page.
git-node: add release promotion step - #402
Conversation
b44d683 to
84b0a27CompareCodecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## main #402 +/- ##
=======================================
Coverage 76.34% 76.34% =======================================
Files 21 21 Lines 1484 1484 =======================================
Hits 1133 1133 Misses 351 351 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
targos
commented
Apr 9, 2020
I'll review and try this when I do the 13.x release next week |
0666c26 to
13191bdComparetargos
commented
Apr 13, 2020
I'm trying |
targos
commented
Apr 14, 2020
Is it supposed to ask me for my GitHub credentials? |
targos
commented
Apr 14, 2020
Okay, I found that I can enter my username/password/otp code and it continues. |
targos
commented
Apr 14, 2020
The output of the next steps is weird: |
targos
commented
Apr 14, 2020
Then it crashes on the secure tag step: |
hmm @targos - it pulls information from your local ncu configuration 🤔 i have the normal setup for myself and it finds that i'm In re. the second issue - looks like And re. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
targos
commented
Apr 14, 2020
@codebytere yeah, I actually did not have my |
targos
commented
Apr 14, 2020
I wonder why it said that the PR does not have sufficient approvals. It has 6 of them 🤔 |
targos
commented
Apr 14, 2020
This is what is passed to |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
targos
commented
Apr 14, 2020
The branch switching doesn't work: |
targos
commented
Apr 14, 2020
^ That's because |
Uh oh!
There was an error while loading. Please reload this page.
| if (!didResolveConflicts) { | ||
| cli.warn(`Aborting release promotion for version ${version}`); | ||
| return; | ||
| } |
There was a problem hiding this comment.
else, we need to:
git add src/node_version.h # or ask the user to add conflicted files manually
git cherry-pick --continue
git push upstream master
git checkout branch-staging
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
targos
commented
Apr 14, 2020
The promotion step doesn't work. It stops immediately with a success message, but the promotion did not happen (note that the promotion script is interactive so we may have to run it in a special way) |
946d16d to
d944859CompareCo-Authored-By: Michaël Zasso <targos@protonmail.com>
d944859 to
c1ab158Comparecodebytere
commented
May 20, 2020
@targos rebased and updated a few things if you're willing to give this another spin on your next release! |
targos
commented
May 26, 2020
I'm giving it a try now with 12.17.0 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
0702242 to
3377b44Compare| } else { | ||
| if (!releasers.some(r => r.login === release.username)) { | ||
| cli.stopSpinner( | ||
| `${release.username} is not a Releaser; aborting release`); | ||
| return; | ||
| } | ||
| cli.stopSpinner('Verified Releaser status'); | ||
| } |
There was a problem hiding this comment.
Nit:
| }else{ | |
| if(!releasers.some(r=>r.login===release.username)){ | |
| cli.stopSpinner( | |
| `${release.username} is not a Releaser; aborting release`); | |
| return; | |
| } | |
| cli.stopSpinner('Verified Releaser status'); | |
| } | |
| }elseif(releasers.every(r=>r.login!==release.username)){ | |
| cli.stopSpinner( | |
| `${release.username} is not a Releaser; aborting release`); | |
| return; | |
| } | |
| cli.stopSpinner('Verified Releaser status'); |
This PR is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
This PR is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
aduh95
commented
Mar 28, 2025
Superseded by #835 |
Refs #388.
Some of this hard to test, since it involved taking real steps that we take during releases.
I've chosen to seek active confirmation more here than in the prep stage, since many of the steps are irreversible, but I'm open to any and all thoughts about how much we might want.
This adds the secondary portion of release automation, for the promotion step. Specifically, we want to:
cc @nodejs/releasers