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>
This commit is contained in:
Jan Lindemann 2026-11-09 13:18:38 +01:00
commit a968352d16
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61

View file

@ -293,7 +293,7 @@ check_release_is_current()
check_update_version()
{
local comment="Start version"
local comment="Release"
set -- `getopt 'c:' "$@"`
while [ "$1" != -- ] ; do
case "$1" in
@ -312,7 +312,7 @@ check_update_version()
[ "$next" ] || fatal "Failed to get next version."
if [ "$next" != "$v" ]; then
echo "$next-dev" > VERSION
scm_commit -m "$comment: $next" VERSION
scm_commit -m "$comment $next" VERSION
return 0
fi
return 1
@ -1297,7 +1297,7 @@ build)
cmd_build "$@"
;;
release-reinstall)
check_update_version -c "Start version"
check_update_version
cmd_build "$@"
cmd_upload
;;