Skip to content

Instantly share code, notes, and snippets.

@joaocgreis
Last active April 7, 2022 21:30
Show Gist options
  • Save joaocgreis/1500cfa995cc17d48f6f47ce7283714d to your computer and use it in GitHub Desktop.
Save joaocgreis/1500cfa995cc17d48f6f47ce7283714d to your computer and use it in GitHub Desktop.
Node.js ARM64 Windows release process

Dist: https://unofficial-builds.nodejs.org/download/release/
Repo: https://github.com/nodejs/unofficial-builds


scp release.tar.gz unofficial-builds:/tmp &&
rm release.tar.gz &&
ssh root@unofficial-builds


cd /home/nodejs/download/release/v


set -x &&
ll -R &&
tar xavf /tmp/release.tar.gz &&
rm /tmp/release.tar.gz &&
chown -R nodejs:nodejs node-v*-win-arm64.* win-arm64 &&
chmod 644 node-v*-win-arm64.* win-arm64/* &&
chmod 755 win-arm64 &&
shasum -a256 $(ls node* win-*/* 2> /dev/null) > /tmp/SRTMP &&
echo &&
ll -R &&
diff /tmp/SRTMP SHASUMS256.txt

  • Confirm all consistent with permissions and owner/group
  • Confirm the (6) expected new files are added in the diff
  • Confirm the version of the packages matches the current folder

chown nodejs:nodejs /tmp/SRTMP &&
chmod 644 /tmp/SRTMP &&
mv /tmp/SRTMP SHASUMS256.txt &&
echo &&
ll -R &&
sha256sum -c SHASUMS256.txt 

  • Confirm SHASUMS is consistent with permissions and owner/group

  • Confirm all (6) new files are in the list of checked files and OK

  • Confirm all checked files are OK

  • Download one and see if node starts on a real ARM64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment