index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | François Charette <francois@archlinux.org> | 2009-10-06 09:20:03 -0700 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-10-06 09:20:03 -0700 |
commit | bb1ab73c74cab73e0b4391419789202f1eae818f (patch) | |
tree | 8e10ba3f5a8a308c05247b43659ade70c9e8bf90 /archrelease | |
parent | 219ec9f1960657f288759dcb65e6093766356f51 (diff) |
-rwxr-xr-x | archrelease | 9 |
diff --git a/archrelease b/archrelease index bc9a7d6..6ba6efb 100755 --- a/archrelease +++ b/archrelease @@ -5,7 +5,7 @@ if [ "$1" = "" ]; then exit 1 fi -if [ ! -f "PKGBUILD" ]; then +if [ ! -f PKGBUILD ]; then echo "archrelease: PKGBUILD not found" exit 1 fi @@ -15,6 +15,12 @@ if [ "$(basename $(readlink -f .))" != "trunk" ]; then exit 1 fi +if [ "$(svn diff)" != "" ]; then + echo "archrelease: You have not committed your changes yet!" + echo " Please run 'upgpkg' or 'svn commit' first" + exit 1 +fi + if [ ! -d ../repos/$1 ]; then pushd .. [ -d repos ] || mkdir repos @@ -46,3 +52,4 @@ else popd fi +echo "===> Tagged for $1" |