summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2021-02-19 19:01:20 +0100
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2021-02-19 19:01:20 +0100
commit09719f276961ef89205d60fcc62df17a0efcc600 (patch)
tree2b4d01a5090d245f9aca29a834ba42cf012bf26b
parentdd8a41fb012d909dbea58bd859ab7408a3a9e903 (diff)
tools/release-publish.sh: Add comments
Add commented-out commands for signing the tarball, and uploading the detached signature file. See #25
-rwxr-xr-xtools/release-publish.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/release-publish.sh b/tools/release-publish.sh
index 14ed3db..d87966c 100755
--- a/tools/release-publish.sh
+++ b/tools/release-publish.sh
@@ -36,6 +36,14 @@ scp $tar_file $sha1_file $gpg_file $USERNAME@$RELEASE_UPLOAD_HOST:$RELEASE_UPLOA
# Update the LATEST-$PACKAGE link.
ssh $USERNAME@$RELEASE_UPLOAD_HOST "rm -f $RELEASE_UPLOAD_DIR/LATEST-$PACKAGE-[0-9]* && ln -s $tar_file $RELEASE_UPLOAD_DIR/LATEST-$PACKAGE-$VERSION"
+# Sign the tarball, and upload the detached signature file.
+# This is a preliminary fix. If cairo releases will be signed differently
+# 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
+
# Move the files to a subdir.
#mkdir -p releases
#mv $tar_file $sha1_file $gpg_file releases