mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 00:00:14 +01:00
release: fix RC_VERSION for release script
The release candidate -rc1 has version "1.y.90", -rc2 has "1.y.91", and so
on. Fix the script.
(cherry picked from commit 7f93fd8e7b)
This commit is contained in:
parent
a9247f6dd9
commit
d4adb65fd6
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ case "$RELEASE_MODE" in
|
|||
[ "$CUR_BRANCH" == master ] || die "devel release can only be on master"
|
||||
else
|
||||
[ "${VERSION_ARR[2]}" -ge 90 ] || die "rc release must have a micro version larger than ${VERSION_ARR[0]}.90 but current version is $VERSION_STR"
|
||||
RC_VERSION="$((${VERSION_ARR[2]} - 90))"
|
||||
RC_VERSION="$((${VERSION_ARR[2]} - 88))"
|
||||
[ "$CUR_BRANCH" == "nm-${VERSION_ARR[0]}-$((${VERSION_ARR[1]} + 1))" ] || die "devel release can only be on \"nm-${VERSION_ARR[0]}-$((${VERSION_ARR[1]} + 1))\" branch"
|
||||
fi
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue