Skip to content

Fix git node release --prepare update proposal workflow - #882

Merged
aduh95 merged 1 commit into
nodejs:mainfrom
ruyadorno:fix-git-node-prepare-release-update-proposal
Mar 28, 2025
Merged

aduh95 merged 1 commit into
nodejs:mainfrom
ruyadorno:fix-git-node-prepare-release-update-proposal

Conversation

@ruyadorno

@ruyadorno ruyadorno commented Jan 6, 2025 •

Copy link
Copy Markdown
Member

This allows for updating a proposal once the proposal branch has already been created, PR opened, e.g:

git checkout v1.x-staging # go back to the staging branch
# make changes, rebase, add more commits, (likely force) push v1.x-staging to upstream
git node release -S --prepare 1.y.z # run release prepare script again
# proposal branch is now ready to be force-pushed to upstream, release commit and changelog are updated
@ruyadorno
ruyadorno requested a review from RafaelGSS January 6, 2025 17:30
@codecov

This comment was marked as outdated.

@ruyadorno
ruyadorno force-pushed the fix-git-node-prepare-release-update-proposal branch from fec7e76 to 38ad9c8 Compare January 6, 2025 17:31
@ruyadorno

This comment was marked as outdated.

Comment thread lib/prepare_release.js Resolved
In `git node release --prepare` when checking out a new proposal branch
make sure it's also possible to update an already existing branch of
that same name instead of failing and terminating the automation.
@ruyadorno
ruyadorno force-pushed the fix-git-node-prepare-release-update-proposal branch from 38ad9c8 to 0a14955 Compare January 6, 2025 19:27
@aduh95
aduh95 merged commit 5ac7927 into nodejs:main Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants