summaryrefslogtreecommitdiffstats
path: root/release-smokeping.sh
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2011-09-29 08:54:10 +0200
committerTobi Oetiker <tobi@oetiker.ch>2011-09-29 08:54:10 +0200
commit2d52bd6a6ac81b6cb5c75a93f28a6c2ba6e2743b (patch)
tree84a258eb64c479fa3ba5b514887cb74a9a2be0d8 /release-smokeping.sh
parentba384d7679698812140a3ef3dd92c12b30816dfd (diff)
downloadsmokeping-2d52bd6a6ac81b6cb5c75a93f28a6c2ba6e2743b.tar.gz
smokeping-2d52bd6a6ac81b6cb5c75a93f28a6c2ba6e2743b.tar.xz
improve release system
Diffstat (limited to 'release-smokeping.sh')
-rwxr-xr-xrelease-smokeping.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release-smokeping.sh b/release-smokeping.sh
index c5ce225..eba7b6b 100755
--- a/release-smokeping.sh
+++ b/release-smokeping.sh
@@ -1,7 +1,7 @@
#!/bin/sh
set -e
VERSION=`perl -n -e 'm/\QAC_INIT([rrdtool],[\E(.+?)\Q])\E/ && print $1' configure.ac`
-svn status -q && echo "ERROR: make sure your tree is consistent before release" && exit 1
+[ `svn status -q | wc -l` > 0 ] && echo "ERROR: commit all changes before release" && exit 1
cd /tmp
svn export svn://svn.oetiker.ch/smokeping/trunk/software smokeping-$$
cd smokeping-$$