release: improve hint about documentation in "release.sh"

A "minor" release can still be the latest release. It depends
on which minor release you do. The script isn't smart enough
to understand the difference, so make the hint a bit clearer.

(cherry picked from commit 3c548dd081)
This commit is contained in:
Thomas Haller 2023-03-09 09:50:03 +01:00 committed by Lubomir Rintel
parent d9753d1ec9
commit 07efcc124f

View file

@ -386,6 +386,7 @@ if [ "$RELEASE_MODE" = major -o "$RELEASE_MODE" = minor ]; then
latest=" -l" latest=" -l"
else else
echo "Note that after the stable release you maybe should publish the new documentation on" echo "Note that after the stable release you maybe should publish the new documentation on"
latest=" [-l]"
fi fi
echo "$(echo_color 36 -n "https://gitlab.freedesktop.org/NetworkManager/networkmanager.pages.freedesktop.org.git") by running" echo "$(echo_color 36 -n "https://gitlab.freedesktop.org/NetworkManager/networkmanager.pages.freedesktop.org.git") by running"
if [ "$RELEASE_MODE" = major ]; then if [ "$RELEASE_MODE" = major ]; then