Skip to content

tools: fix release script - #36540

Closed
aduh95 wants to merge 2 commits into
nodejs:masterfrom
aduh95:fix-release-script
Closed

tools: fix release script#36540
aduh95 wants to merge 2 commits into
nodejs:masterfrom
aduh95:fix-release-script

Conversation

@aduh95

@aduh95aduh95 commented Dec 16, 2020

Copy link
Copy Markdown
Contributor

#36123 introduced illformed ssh, scp, and gpg commands. This is my attempt at fixing it.

Refs: #36123 (comment)

/cc @BethGriggs

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@nodejs-github-botnodejs-github-bot added the tools Issues and PRs related to the tools directory. label Dec 16, 2020
@BethGriggs

Copy link
Copy Markdown
Member

Thanks for the quick PR, I've just tested this locally, and the script runs through as far as expected:

1) A1AB005C
2) D6DCC25D
Select a key: 1
Using GPG key: A1AB005C
Fingerprint: 4ED778F539E3634C779C87C6D7062848A1AB005C
# Checking for releases ...
No releases to promote!

@aduh95aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Dec 16, 2020
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 16, 2020
@nodejs-github-bot

This comment has been minimized.

Comment threadtools/release.sh Outdated
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@MylesBorinsMylesBorins left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

RSLGTM

@MylesBorins

Copy link
Copy Markdown
Contributor

fast-track?

@MylesBorinsMylesBorins added the fast-track PRs that do not need to wait for 48 hours to land. label Dec 17, 2020
@richardlaurichardlau added the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 17, 2020
@github-actionsgithub-actionsBot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 17, 2020
@github-actions

Copy link
Copy Markdown
Contributor

Landed in 32d58d7...f28715d

nodejs-github-bot pushed a commit that referenced this pull request Dec 17, 2020
PR-URL: #36540
Refs: #36123
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
@aduh95
aduh95 deleted the fix-release-script branch December 17, 2020 16:43
@BethGriggs

Copy link
Copy Markdown
Member

I used this version of the script to promote v14.15.3. It successfully promoted the release but I then hit a key related error while uploading the shasums:

Upload files? [y/n] y
Warning: Identity file <key1> not accessible: No such file or directory.
no such identity: <key2>: No such file or directory
dist@direct.nodejs.org's password: 

(I reverted to the old version and ran ./tools/release.sh -i <key> -s v14.15.3 to sign.)

@aduh95

Copy link
Copy Markdown
ContributorAuthor

@BethGriggs Do you try to use the -s flag with the current version by any chance?

@BethGriggs

Copy link
Copy Markdown
Member

@BethGriggs Do you try to use the -s flag with the current version by any chance?

Nope, I only tried to run the full script with ./tools/release.sh -i <key> on the current version.

@aduh95aduh95 mentioned this pull request Dec 18, 2020
2 tasks
targos pushed a commit that referenced this pull request Dec 21, 2020
PR-URL: #36556
Refs: #36540
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
targos pushed a commit that referenced this pull request Dec 21, 2020
PR-URL: #36540
Refs: #36123
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
targos pushed a commit that referenced this pull request Dec 21, 2020
PR-URL: #36556
Refs: #36540
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
@targostargos mentioned this pull request Dec 22, 2020
targos pushed a commit that referenced this pull request May 1, 2021
PR-URL: #36540
Refs: #36123
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
targos pushed a commit that referenced this pull request May 1, 2021
PR-URL: #36556
Refs: #36540
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
@danielleadamsdanielleadams mentioned this pull request May 3, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.fast-trackPRs that do not need to wait for 48 hours to land.toolsIssues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@aduh95@BethGriggs@nodejs-github-bot@MylesBorins@Trott@richardlau