nodejs / snap

Node.js snap source and updater
MIT License
166 stars 38 forks source link

v22 #64

Closed rvagg closed 4 months ago

rvagg commented 4 months ago
  1. [x] Request a new Track for the "node" Snap in the Snapcraft forum in the "Store requests" section. The track should be the major release line number (e.g. 14). The "node" Snap has fast-track approval and is usually authorized within 24 hours by the administrators. This step needs to be performed in order to upload to a new track. An example of this for 14 can be seen here: https://forum.snapcraft.io/t/track-request-for-node-14-fast-track-please/16842/3
  2. [x] Create a new branch in this repository, named nodeXX where XX is the release line number.
  3. [x] Edit snapcraft.yaml.sh if required for system configuration required to build the new version. In most cases this is not necessary and the master version can be copied. Where the compiler minimums change, the equivalent changes may need to be made in the script.
  4. [x] Edit .github/workflows/cron.yml to add the new release line to the matrix.
  5. [x] Start a build (manually, or wait for the GitHub Action to trigger by cron), which will update the snapcraft.yaml file for that branch correctly and push the new branch to https://code.launchpad.net/node-snap where it can be further configured.
  6. [x] Navigate to https://code.launchpad.net/node-snap and into the new branch and click on "Create snap package".
    • The "name" should be the same as the branch
    • The "series" should be inferred from snapcraft.yaml
    • The "processors" should be at least: armhf, arm64, amd64, i386
    • "Automatically build when branch changes" should be ticked.
    • "Automatically upload to store" should be ticked
    • "Registered store package name" should be "node"
    • "Risk" should be "stable" (this is "edge" for nightly builds)
    • "Track" should be the major release line
    • Clicking "Create snap package" should create the workflow and authenticate the publishing with the Snap store (this is a simple multi-step authorization process).
  7. [x] Manually request new builds for the Snap from the Snap configuration page in Launchpad ("Request builds").
rvagg commented 4 months ago

got 22 last time when I got 21 so first item is already covered https://forum.snapcraft.io/t/track-request-for-node-21-22/37985

rvagg commented 4 months ago

Might be good to merge https://github.com/nodejs/snap/pull/62 for the base of this

rvagg commented 4 months ago

I messed up the auto-upload to the snap store but I've done a couple of the architectures manually and in future they should go by themselves.

  22/stable:        22.1.0                         2024-05-13 (8656) 38MB classic