pkg.sh: Don't bump an unreleased version #178

Merged
Jan Lindemann merged 1 commit from jan/fix/20261111-pkg-sh-don-t-bump-an-unrleased-version into master 2026-11-11 07:59:38 +01:00 AGit
Owner

pkg.sh: Don't bump an unrleased version

Return the current version from check_next_version() when the platform has no release tag for it. A missing tag together with an unchanged source means the release commit allocated the version and this platform only has to release it. The reinstall check then only runs when the tag exists, i.e. when a release already happened and its installed package might be broken.

This keeps the version from being bumped twice in the same release run.

#### pkg.sh: Don't bump an unrleased version Return the current version from `check_next_version()` when the platform has no release tag for it. A missing tag together with an unchanged source means the release commit allocated the version and this platform only has to release it. The reinstall check then only runs when the tag exists, i.e. when a release already happened and its installed package might be broken. This keeps the version from being bumped twice in the same release run.
pkg.sh: Don't bump an unrleased version
Some checks failed
CI / Packaging test (pull_request) Has been cancelled
CI / Packaging - Kali Linux (pull_request) Has been cancelled
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Has been cancelled
7645d94c1c
Return the current version from check_next_version() when the platform has
no release tag for it.  A missing tag together with an unchanged source
means the release commit allocated the version and this platform only has
to release it. The reinstall check then only runs when the tag exists, i.e.
when a release already happened and its installed package might be broken.

This keeps the version from being bumped twice in the same release run.

Signed-off-by: Jan Lindemann <jan@janware.com>
Jan Lindemann scheduled this pull request to auto merge when all checks succeed 2026-11-11 07:47:14 +01:00
Jan Lindemann changed title from pkg.sh: Don't bump an unrleased version to pkg.sh: Don't bump an unreleased version 2026-11-11 07:47:32 +01:00
Jan Lindemann force-pushed jan/fix/20261111-pkg-sh-don-t-bump-an-unrleased-version from 7645d94c1c
Some checks failed
CI / Packaging test (pull_request) Has been cancelled
CI / Packaging - Kali Linux (pull_request) Has been cancelled
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Has been cancelled
to 8dee1ed41e
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 4m49s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m43s
CI / Packaging test (pull_request) Successful in 0s
2026-11-11 07:48:58 +01:00
Compare
Jan Lindemann scheduled this pull request to auto merge when all checks succeed 2026-11-11 07:49:24 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
janware/jw-pkg!178
No description provided.