summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2020-10-04 13:39:42 +0200
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2020-10-04 13:39:42 +0200
commitdd8a41fb012d909dbea58bd859ab7408a3a9e903 (patch)
treedbbdc3df0c8e8e1e5926c0420dfca696363dd23e
parent4ccc0a5315d09a8ae6ddba53f855c0bca56971a1 (diff)
tools/doc-publish.sh, release-publish.sh: Exit on error
-rwxr-xr-xtools/doc-publish.sh3
-rwxr-xr-xtools/release-publish.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/doc-publish.sh b/tools/doc-publish.sh
index ec0e81a..8dc8da4 100755
--- a/tools/doc-publish.sh
+++ b/tools/doc-publish.sh
@@ -1,6 +1,7 @@
-#!/bin/bash
+#!/bin/bash -e
# Upload cairomm documentation to cairographics.org/documentation/cairomm/reference
+# Run this script from the root of the build tree, typically cairomm/.
if [ $# -ne 2 ]
then
diff --git a/tools/release-publish.sh b/tools/release-publish.sh
index aae1986..14ed3db 100755
--- a/tools/release-publish.sh
+++ b/tools/release-publish.sh
@@ -1,10 +1,11 @@
-#!/bin/bash
+#!/bin/bash -e
# Upload a cairomm tarball to cairographics.org/releases
# Before you call this script, make a tarball with 'meson dist' or 'make distcheck'
# as described at https://wiki.gnome.org/MaintainersCorner/Releasing
# but DO NOT upload it to master.gnome.org.
+# Run this script from the build tree directory where the tarball is.
if [ $# -ne 2 ]
then