From: Wayne Davison Date: Mon, 12 Nov 2007 14:44:16 +0000 (-0800) Subject: Exit if something goes wrong with commit or tag. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/86eb9f95955d3957c2dfdcbc36492076385c96fd?ds=sidebyside Exit if something goes wrong with commit or tag. --- diff --git a/packaging/release-rsync b/packaging/release-rsync index efac18f7..8e2a9810 100755 --- a/packaging/release-rsync +++ b/packaging/release-rsync @@ -194,8 +194,8 @@ rename("a/configure", "a/configure.sh"); # XXX remove soon system "rsync -a @extra_files rsync-$version/"; -system "git-commit -a -m 'Preparing for release of $version'"; -system "git-tag -s -m 'Version $version.' v$version"; +system "git-commit -a -m 'Preparing for release of $version'" and exit 1; +system "git-tag -s -m 'Version $version.' v$version" and exit 1; # When creating a pre-release after a normal release, there's nothing to move. if ($diffdir ne $dest) {