summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2023-09-27 09:23:57 +0200
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2023-09-27 09:23:57 +0200
commit6d5c7b226f6d7857d8c46641447d56053234d4f7 (patch)
tree2b06880d2094c5c3ac1f825023df26ed1426e829
parent64f9980305ee33764dd6564e5d3a3cc09e39ffc2 (diff)
tools/*.sh: Improve comments
-rwxr-xr-xtools/doc-publish.sh6
-rwxr-xr-xtools/release-publish.sh6
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 <version> <username>"
- 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 <version> <username>"
- 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