makerepo: fix detecting base-commit for libnl 3.4.0-rc1 release

When doing the release, I messed up and the commit ID inside the tarball
is not the one which released in the end. Hack around it in the script.
This commit is contained in:
Thomas Haller 2017-09-20 11:55:42 +02:00
parent a8993c5afd
commit 1ee2e41e7f

View file

@ -425,6 +425,9 @@ pushd "$DIRNAME"
RELEASE_BASE_COMMIT="$(sed -n 's/^NM_GIT_SHA=\(.*\)/\1/p' configure 2>/dev/null)"
elif [[ "$BUILD_TYPE" == "libnl3" ]]; then
RELEASE_BASE_COMMIT="$(sed -n 's/^LIBNL_GIT_SHA=\(.*\)/\1/p' configure 2>/dev/null)"
if [[ "$RELEASE_BASE_COMMIT" == "23c44dad998f72f39fd1fc24aa9579fd0a7f05c0" ]]; then
RELEASE_BASE_COMMIT="e01b9df629e2f4f833fdc4fe0bda460bb738d136"
fi
elif [[ "$BUILD_TYPE" == "network-manager-applet" ]]; then
RELEASE_BASE_COMMIT="$(sed -n 's/^NMA_GIT_SHA=\(.*\)/\1/p' configure 2>/dev/null)"
elif [[ "$BUILD_TYPE" == "glib2" ]]; then