pkg.sh: Move release bookkeeping from the RELEASES file to Git tags #177

Merged
Jan Lindemann merged 3 commits from jan/feature/20261110-pkg-sh-move-release-bookkeeping-from-the-releases-file-to-git-tags into master 2026-11-10 14:06:20 +01:00 AGit

2026-11-10

pkg.sh: Drop the RELEASES file in the release commit
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 5m20s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m46s
CI / Packaging test (pull_request) Successful in 0s
The release tags replace the RELEASES bookkeeping, but the file is still
tracked in jw-pkg and in every other project repo, and removing it by hand
in each of them does not scale.

Make check_update_version() remove the RELEASES file from the tree in the
release commit itself when it is still there, so the next release of each
project drops it automatically. The removal is git only, as the release
flow is; a repo without a tracked RELEASES file is unaffected.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.5.0
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-11-10 13:55:09 +01:00
pkg.sh: Use tags instead of RELEASES file
If a release on a platform is due is decided by checking if the version /
platform / architecture combination is recorded in RELEASES. This commit
moves that bookkeeping from RELEASES to Git tag.

Create a git tag per release, named after the version and the platform
of the RELEASES entry, so "kali-rolling/amd64: 1.0.0-288" becomes the
tag v1.0.0-288@kali-rolling/amd64, and push the branch commit and
the tag. The tag message keeps the previous commit message, "Release
<version>@<platform>".

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.5.0
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-11-10 13:55:09 +01:00
pkg.sh: Retitle release commits "Release <version>"
The current "Start version" commit subject sits well in a history of
commits where that commit is followed by commits which complete a release
of that version on a respective platform. Those checkpoints are going to move
out of commits to Git tags, with only one commit per version remaining. So,
label the version bump commit simply "Release <version>" instead.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.5.0
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-11-10 13:55:09 +01:00