How to publish a release
This guide shows how to publish a Sidekicks release from a Mac with the local CI: build, sign and notarize, create a draft on Rickub, upload, publish. It assumes the development tools of How to develop the application, brew install makensis, the signing setup of How to sign and notarize Sidekicks for macOS (part A) and a token in .ci.cd.token.env. RELEASING.md is the same procedure as a checklist, with the settings.
Steps
- Set the version (How to set the version:
info.version, thenscripts/sync-build-assets.sh), writedocs/release-notes/v<version>.md, setTAG="v<version>"in.release.env, then commit, merge intomainand push. ./local-ci-01-check.sh:make verify../local-ci-02-build.sh:release/<TAG>/holds the signed and notarized macOS.dmgand.zip, the Windows packages andSHA256SUMS../local-ci-03-create-draft.sh: the tag and a draft prerelease../local-ci-04-upload.sh: the files go up through a temporary branch../local-ci-05-publish.sh: type the tag; the public files are downloaded and compared.- Optional,
./local-ci-06-promote.sh: the prerelease becomes a release. git fetch --tagsin every copy of the repository.
Rehearse with TAG="v9.9.9" first.
Variants
- Linux packages too (not released for now):
LINUX_ARCHES=amd64 ./local-ci-02-build.sh, with Docker Desktop running; they stay indist/. - Leave a system out:
SKIP="windows" ./local-ci-02-build.sh(ormacos);WINDOWS_ARCHES=amd64for one Windows architecture. - Unsigned build: leave
SIGN_IDENTITYempty. - Only the unsigned packages:
make release-build(intodist/). - Wrong release: delete the release and its tag on Rickub, fix, start again at step 4.
See also
- How to set the version
- How to sign and notarize Sidekicks for macOS
- How to install Sidekicks
- Reference: commands —
make release-*,scripts/build-release.sh,local-ci-*.sh
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
|