Exit if something goes wrong with commit or tag.
authorWayne Davison <wayned@samba.org>
Mon, 12 Nov 2007 14:44:16 +0000 (06:44 -0800)
committerWayne Davison <wayned@samba.org>
Mon, 12 Nov 2007 14:44:16 +0000 (06:44 -0800)
packaging/release-rsync

index efac18f..8e2a981 100755 (executable)
@@ -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) {