mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 12:30:07 +01:00
release.sh: update version check
(cherry picked from commitcfc3f3fed7) (cherry picked from commit39c0e8cf30) (cherry picked from commit01a03c7a5a) (cherry picked from commitf5e0d856f7)
This commit is contained in:
parent
a4b997b2ec
commit
98b1dba100
1 changed files with 2 additions and 1 deletions
|
|
@ -368,7 +368,8 @@ if [ -n "$RELEASE_BRANCH" ]; then
|
|||
fi
|
||||
|
||||
if [ "$ALLOW_LOCAL_BRANCHES" != 1 ]; then
|
||||
cmp <(git show "$ORIGIN/main:contrib/fedora/rpm/release.sh") "$BASH_SOURCE_ABSOLUTE" || die "$BASH_SOURCE is not identical to \`git show \"$ORIGIN/main:contrib/fedora/rpm/release.sh\"\`"
|
||||
# The release process changed a bit in nm-1-50, so previous versions has to be compared to nm-1-48, not to main
|
||||
cmp <(git show "$ORIGIN/nm-1-48:contrib/fedora/rpm/release.sh") "$BASH_SOURCE_ABSOLUTE" || die "$BASH_SOURCE is not identical to \`git show \"$ORIGIN/nm-1-48:contrib/fedora/rpm/release.sh\"\`"
|
||||
fi
|
||||
|
||||
if ! check_news "$RELEASE_MODE" "@{VERSION_ARR[@]}" ; then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue