This is step-by-step description on how to release new version of CopyQ.
Update CHANGES.md file (go through all commits since the last release tag).
Bump the version:
utils/bump_version.sh 14.0.0
Verify and push the changes:
for r in origin gitlab; do git push --follow-tags $r master || break; done
Run the release script:
utils/github/draft-release.sh 14.0.0
This automates the following steps:
- Creates a draft GitHub Release with the changelog from
CHANGES.md. - Creates the source tarball and uploads it to the release.
- Waits for CI to attach build artifacts (
.dmg,.zip,.exe) to the release. - Downloads the release assets, generates
checksums-sha512.txt, and signs it withcosign(opens a browser for OIDC authentication). - Uploads
checksums-sha512.txtandcosign.bundleto the release.
The script is idempotent. If interrupted, rerun it with the same working directory to resume:
utils/github/draft-release.sh 14.0.0 ./release-14.0.0
Artifacts produced by CI (attached automatically by GitHub Actions):
- Windows installer (
copyq-VERSION-setup.exe) - Windows portable zip (
copyq-VERSION.zip) - macOS Intel DMG (
CopyQ-VERSION-macos-13.dmg) - macOS Apple Silicon DMG (
CopyQ-VERSION-macos-12-m1.dmg) - Linux AppImage (
CopyQ-VERSION-x86_64.AppImage)
Update flathub package:
- Update "tag" and "commit" in "com.github.hluk.copyq.json" file.
- Push to your fork.
- Create pull request.
- Verify the build when the build finishes (flathubbot will add comments).
- Merge the changes if the build is OK.
Review and publish the draft release on GitHub.
Upload packages and binaries to:
Write release announcement to CopyQ group.