mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 18:20:07 +01:00
release.sh: compare file with nm-1-46
In nm-1-48 it has differences because the build is done with meson and not with autotools.
This commit is contained in:
parent
ea4a976cd1
commit
501cc1e02b
1 changed files with 3 additions and 2 deletions
|
|
@ -380,7 +380,8 @@ fi
|
|||
|
||||
if [ "$ALLOW_LOCAL_BRANCHES" != 1 ]; then
|
||||
# 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\"\`"
|
||||
# Before nm-1-48 the build was done with autotools, not meson. There are small differences because of that, so compare to nm-1-46.
|
||||
cmp <(git show "$ORIGIN/nm-1-46:contrib/fedora/rpm/release.sh") "$BASH_SOURCE_ABSOLUTE" || die "$BASH_SOURCE is not identical to \`git show \"$ORIGIN/nm-1-46:contrib/fedora/rpm/release.sh\"\`"
|
||||
fi
|
||||
|
||||
if ! check_news "$RELEASE_MODE" "@{VERSION_ARR[@]}" ; then
|
||||
|
|
@ -669,4 +670,4 @@ fi
|
|||
|
||||
if [[ $CREATE_RELEASE_FAIL == 1 ]]; then
|
||||
die "failed creating the release at gitlab.freedesktop.org. This was the last step, create it manually from the web UI"
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue