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

tools: fix release script #36540

Closed
wants to merge 2 commits into from
Closed

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Dec 16, 2020

#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-bot nodejs-github-bot added the tools Issues and PRs related to the tools directory. label Dec 16, 2020
@BethGriggs
Copy link
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!

@aduh95 aduh95 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-actions github-actions bot 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.

tools/release.sh Outdated Show resolved Hide resolved
@nodejs-github-bot
Copy link
Collaborator

Copy link
Contributor

@MylesBorins MylesBorins left a comment

Choose a reason for hiding this comment

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

RSLGTM

@MylesBorins
Copy link
Contributor

fast-track?

@MylesBorins MylesBorins added the fast-track PRs that do not need to wait for 48 hours to land. label Dec 17, 2020
@richardlau richardlau added the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 17, 2020
@github-actions github-actions bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 17, 2020
@github-actions
Copy link
Contributor

Landed in 32d58d7...f28715d

@github-actions github-actions bot closed this Dec 17, 2020
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
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
Contributor Author

aduh95 commented Dec 17, 2020

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

@BethGriggs
Copy link
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.

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>
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>
@danielleadams danielleadams mentioned this pull request May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. fast-track PRs that do not need to wait for 48 hours to land. tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants