mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 08:00:18 +01:00
contrib/release: fix version in import-docs hint message
(cherry picked from commit a798b4f3f6)
This commit is contained in:
parent
9705e2acce
commit
7185d1e5b9
1 changed files with 6 additions and 1 deletions
|
|
@ -387,7 +387,12 @@ if [ "$RELEASE_MODE" = major -o "$RELEASE_MODE" = minor ]; then
|
|||
echo "Note that after the stable release you maybe should publish the new documentation on"
|
||||
fi
|
||||
echo "$(echo_color 36 -n "https://gitlab.freedesktop.org/NetworkManager/networkmanager.pages.freedesktop.org.git") by running"
|
||||
echo " \`$(echo_color 36 -n "./scripts/import-docs.sh ${VERSION_ARR[0]}.$((${VERSION_ARR[1]} + 1)).0$latest")\`"
|
||||
if [ "$RELEASE_MODE" = major ]; then
|
||||
v="${VERSION_ARR[0]}.$((${VERSION_ARR[1]} + 1)).0"
|
||||
else
|
||||
v="${VERSION_ARR[0]}.${VERSION_ARR[1]}.$((${VERSION_ARR[2]} + 1))"
|
||||
fi
|
||||
echo " \`$(echo_color 36 -n "./scripts/import-docs.sh $v$latest")\`"
|
||||
echo
|
||||
if [ $WARN_PUBLISH_DOCS = 1 ]; then
|
||||
echo "Avoid this prompt via \"--no-warn-publish-docs\""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue