summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Chu <jason@archlinux.org>2004-07-24 03:49:38 +0000
committerJason Chu <jason@archlinux.org>2004-07-24 03:49:38 +0000
commit699aa9e62715c86b03970d02a9a91d338152a503 (patch)
tree5e5c43987687c0e54a5ffa400b17086c0fc15103
parentc75f35be504b6ae0d4d03b79a808d77e9144bc9a (diff)
downloaddevtools-699aa9e62715c86b03970d02a9a91d338152a503.tar.xz
added the option for an extra message in the cvs commit
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@156 630f3fb4-fbd1-0310-a574-b293cca3120f
-rwxr-xr-xextrapkg7
1 files changed, 7 insertions, 0 deletions
diff --git a/extrapkg b/extrapkg
index 1c641fc..1cd8603 100755
--- a/extrapkg
+++ b/extrapkg
@@ -33,7 +33,14 @@ fi
scp $pkgfile archlinux.org:/home/ftp/$repo/os/$CARCH
echo "===> Uploaded $pkgfile"
+if [ "$1" != "" ]; then
+cvs commit -m "upgpkg: $pkg $ver
+$1" > /dev/null
+echo "===> Commited with \"upgpkg: $pkg $ver
+$1\" message"
+else
cvs commit -m "upgpkg: $pkg $ver" > /dev/null
echo "===> Commited with \"upgpkg: $pkg $ver\" message"
+fi
cvs tag -c -F -R $tag > /dev/null
echo "===> Tagged as $tag"