diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2020-10-04 13:39:42 +0200 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2020-10-04 13:39:42 +0200 |
commit | dd8a41fb012d909dbea58bd859ab7408a3a9e903 (patch) | |
tree | dbbdc3df0c8e8e1e5926c0420dfca696363dd23e | |
parent | 4ccc0a5315d09a8ae6ddba53f855c0bca56971a1 (diff) |
tools/doc-publish.sh, release-publish.sh: Exit on error
-rwxr-xr-x | tools/doc-publish.sh | 3 | ||||
-rwxr-xr-x | tools/release-publish.sh | 3 |
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 |