Compare commits

..

2 Commits

Author SHA1 Message Date
Pierre Schmitz
cb25d50913 prepare release 2011-08-14 23:31:35 +02:00
Pierre Schmitz
c51cc8d365 Only commit if needed 2011-08-14 21:30:08 +02:00
2 changed files with 22 additions and 20 deletions

View File

@@ -1,4 +1,4 @@
V=0.9.25
V=0.9.26
PREFIX = /usr/local

View File

@@ -108,13 +108,14 @@ if [ "$1" = "-a" ]; then
shift 2
fi
echo -n 'committing changes to trunk...'
msgtemplate="upgpkg: $pkgbase $(get_full_version ${epoch:-0} $pkgver $pkgrel)
if [ -n "$(svn status -q)" ]; then
echo -n 'committing changes to trunk...'
msgtemplate="upgpkg: $pkgbase $(get_full_version ${epoch:-0} $pkgver $pkgrel)
"
if [ -n "$1" ]; then
"
if [ -n "$1" ]; then
svn commit -q -m "${msgtemplate}${1}" || abort
else
else
msgfile="$(mktemp)"
echo "$msgtemplate" > "$msgfile"
if [ -n "$SVN_EDITOR" ]; then
@@ -129,8 +130,9 @@ else
[ -s "$msgfile" ] || abort
svn commit -q -F "$msgfile" || abort
unlink "$msgfile"
fi
echo 'done'
fi
echo 'done'
declare -a uploads