From 86eb9f95955d3957c2dfdcbc36492076385c96fd Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 12 Nov 2007 06:44:16 -0800 Subject: [PATCH] Exit if something goes wrong with commit or tag. --- packaging/release-rsync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.34.1