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

View file

@ -197,6 +197,13 @@ check_next_version()
return
fi
echo "+ $PKG_PROJECT has unchanged source" >&2
if ! release_tags | grep -qF "v$v@"; then
# the release commit allocated $v and recorded the source hash; a missing tag means
# this platform has not released it yet, so release $v as is
echo "+ $PKG_PROJECT has no release tag for $v on `platform`, needs release" >&2
echo $v
return
fi
if [ "$reinstall_check_failed" = 1 ]; then
echo "version $v is uninstallable, needs release" >&2
increase_build_no $v