aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2012-11-15 22:30:28 +0100
committerGilles Chehade <gilles@poolp.org>2012-11-15 22:30:28 +0100
commit822bf9efaf4b0e90b9c45368aaef6fe662dba3e3 (patch)
treea77970d40d59883f31a716a5f86414b74afe3bd9
parentfix fuckup in publish.sh (diff)
downloadOpenSMTPD-822bf9efaf4b0e90b9c45368aaef6fe662dba3e3.tar.xz
OpenSMTPD-822bf9efaf4b0e90b9c45368aaef6fe662dba3e3.zip
really fix fuckup
-rwxr-xr-xpublish.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/publish.sh b/publish.sh
index bc33d449..a1248c5f 100755
--- a/publish.sh
+++ b/publish.sh
@@ -87,9 +87,9 @@ snapshot()
mv ${FILES}/${TARBALL} ${FILES}/${SNAPSHOT}.tar.gz
if test "${1}" = "master"; then
- LASTTAGS=`git tag |grep '^opensmtpd-[0-9]*' | grep -v '[0-9]p[0-9]$' | tail -2 | tr '\n' '@' | sed 's/@$//g'| sed 's/@/../g'`
+ LASTTAGS=`git tag |grep '^opensmtpd-[0-9][0-9]*' | grep -v '[0-9]p[0-9]$' | tail -2 | tr '\n' '@' | sed 's/@$//g'| sed 's/@/../g'`
else
- LASTTAGS=`git tag |grep '^opensmtpd-[0-9]*' | grep '[0-9]p[0-9]$' | tail -2 | tr '\n' '@' | sed 's/@$//g'| sed 's/@/../g'`
+ LASTTAGS=`git tag |grep '^opensmtpd-[0-9][0-9]*' | grep '[0-9]p[0-9]$' | tail -2 | tr '\n' '@' | sed 's/@$//g'| sed 's/@/../g'`
fi
CHANGELOG=`git log $LASTTAGS`