mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00: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.
This commit is contained in:
parent
8e9e6fd024
commit
7f93fd8e7b
|
@ -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…
Reference in a new issue