index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Jason Chu <jason@archlinux.org> | 2004-08-22 20:24:02 +0000 |
---|---|---|
committer | Jason Chu <jason@archlinux.org> | 2004-08-22 20:24:02 +0000 |
commit | 87307609b833bb3d156f5a3ee50986c7035fc792 (patch) | |
tree | fdcd6bbb6709a47a9534121218bc5854db5a018e /extrapkg | |
parent | 699aa9e62715c86b03970d02a9a91d338152a503 (diff) |
-rwxr-xr-x | extrapkg | 18 |
@@ -32,15 +32,33 @@ elif [ "$cmd" == "unstablepkg" ]; then fi scp $pkgfile archlinux.org:/home/ftp/$repo/os/$CARCH +if [ $? -ne 0 ]; then + echo "Cancelled" + exit 1 +fi echo "===> Uploaded $pkgfile" + if [ "$1" != "" ]; then cvs commit -m "upgpkg: $pkg $ver $1" > /dev/null +if [ $? -ne 0 ]; then + echo "Cancelled" + exit 1 +fi echo "===> Commited with \"upgpkg: $pkg $ver $1\" message" else cvs commit -m "upgpkg: $pkg $ver" > /dev/null +if [ $? -ne 0 ]; then + echo "Cancelled" + exit 1 +fi echo "===> Commited with \"upgpkg: $pkg $ver\" message" fi + cvs tag -c -F -R $tag > /dev/null +if [ $? -ne 0 ]; then + echo "Cancelled" + exit 1 +fi echo "===> Tagged as $tag" |