GitHub Releases stores every published SingWS version. The website can use permanent URLs that always download the matching DMG from the newest release:
- Apple Silicon:
https://singws.com/download-mac.php?arch=arm64 - Intel:
https://singws.com/download-mac.php?arch=intel
Install and sign in to GitHub CLI once on each Mac:
brew install gh
gh auth loginRun the publisher from the directory containing the DMG:
/path/to/publish-mac-release.sh SingWS-0.3.13.0-arm64.dmgOn the Intel Mac, publish its matching build with:
/path/to/publish-mac-release.sh SingWS-0.3.13.0-intel.dmgThe first upload creates draft release v0.3.13.0. The second upload adds the
other architecture to that release. Once both Mac versions are present, the
publisher automatically makes the release public and marks it as Latest. This
prevents either website download link from breaking while the other Mac build
is still being prepared.
Each release stores only the two versioned DMGs. The singws.com download redirect finds the matching versioned asset in GitHub's latest release, so no duplicate aliases are needed. Older releases and their files remain available.
Do not mark a normal release as a GitHub prerelease, because GitHub's
releases/latest link ignores prereleases.