From 6d5c7b226f6d7857d8c46641447d56053234d4f7 Mon Sep 17 00:00:00 2001 From: Kjell Ahlstedt Date: Wed, 27 Sep 2023 09:23:57 +0200 Subject: tools/*.sh: Improve comments --- tools/doc-publish.sh | 6 +++++- tools/release-publish.sh | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tools/doc-publish.sh b/tools/doc-publish.sh index 8dc8da4..211da41 100755 --- a/tools/doc-publish.sh +++ b/tools/doc-publish.sh @@ -2,11 +2,15 @@ # Upload cairomm documentation to cairographics.org/documentation/cairomm/reference # Run this script from the root of the build tree, typically cairomm/. +# +# Run this script only when creating a stable release with the highest +# minor version. For instance, don't run it when making 1.14.x if there is +# a 1.16.x, and don't run it when making 1.17.x. if [ $# -ne 2 ] then echo "Usage: $0 " - echo "Example: $0 1.14.0 foo" + echo "Example: $0 1.16.0 foo" exit 1 fi diff --git a/tools/release-publish.sh b/tools/release-publish.sh index d87966c..e96c184 100755 --- a/tools/release-publish.sh +++ b/tools/release-publish.sh @@ -10,7 +10,7 @@ if [ $# -ne 2 ] then echo "Usage: $0 " - echo "Example: $0 1.14.0 foo" + echo "Example: $0 1.16.0 foo" exit 1 fi @@ -41,8 +41,8 @@ ssh $USERNAME@$RELEASE_UPLOAD_HOST "rm -f $RELEASE_UPLOAD_DIR/LATEST-$PACKAGE-[0 # in the future, cairomm should be changed accordingly. # https://gitlab.freedesktop.org/cairo/cairomm/-/issues/25 # https://gitlab.freedesktop.org/cairo/cairo/-/issues/458 -#gpg --armor --detach-sign $tar_file -#scp $tar_file.asc $USERNAME@$RELEASE_UPLOAD_HOST:$RELEASE_UPLOAD_DIR +gpg --armor --detach-sign $tar_file +scp $tar_file.asc $USERNAME@$RELEASE_UPLOAD_HOST:$RELEASE_UPLOAD_DIR # Move the files to a subdir. #mkdir -p releases -- cgit v1.2.3