How to publish a release
This guide shows how to publish a Sidekicks release from a Mac: build every package, tag, attach the files to the release that Rickub creates. It assumes the development tools of How to develop the application, brew install makensis, and the right to push tags. RELEASING.md is the same procedure as a checklist.
Steps
- Set the version in
build/config.yml(info.version), runwails3 task common:update:build-assets, putLSMinimumSystemVersionback to13.0.0inbuild/darwin/Info.plistandInfo.dev.plist, then commit, merge intomainandgit checkout main && git pull. - Build everything:
make release-build.dist/then holds the macOS packages (.dmgand.zipfor Apple Silicon), the Windows ones (installer and.zip, for x86-64 and for Arm) andSHA256SUMS. - Tag:
make release-tag. The tagv<version>is pushed, and the Release workflow creates the release on Rickub with notes listing the files. - Attach the files: on Rickub, open Releases → v and attach every file of
dist/. - Fetch the tag in every other copy of the repository (another machine, a sandbox):
git fetch --tags, thengit tag --list 'v*'showsv<version>.
Variants
- Linux packages too (not released for now):
LINUX_ARCHES=amd64 make release-build, with Docker Desktop running. - Leave a system out:
SKIP="windows"(ormacos) beforemake release-build;WINDOWS_ARCHES=amd64for one Windows architecture. - Tag without pushing:
scripts/tag-release.sh --no-push, thengit push origin v<version>when ready. - Wrong tag:
git push origin :refs/tags/v<version>andgit tag -d v<version>, delete the release if it was created, fix the version and tag again. - One system only:
make package-macos,make package-windows(both architectures) ormake package-linux(on Linux, for the machine's architecture).
See also
- How to sign and notarize Sidekicks for macOS
- How to install Sidekicks
- Reference: commands —
make release-*,scripts/build-release.sh,scripts/tag-release.sh, the Release workflow
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 |
|