12
0

Accepting request 55890 from home:RedDwarf:branches:openSUSE:Tools

thanks

OBS-URL: https://build.opensuse.org/request/show/55890
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-set_version?expand=0&rev=4
This commit is contained in:
2010-12-26 18:13:48 +00:00
committed by Git OBS Bridge
parent 3fc3172b76
commit 05d6126ea1
2 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 14 06:50:01 UTC 2010 - reddwarf@opensuse.org
- support detecting the version from *.tbz2 files
-------------------------------------------------------------------
Sun Dec 5 19:36:00 UTC 2010 - adrian@suse.de

View File

@@ -49,6 +49,9 @@ fi
if [ -z "$MYVERSION" ]; then
MYVERSION=`ls -1 | sed -n "s,$BASENAME.*-\([0123456789].*\).tgz$,\1,p" | head -n 1`
fi
if [ -z "$MYVERSION" ]; then
MYVERSION=`ls -1 | sed -n "s,$BASENAME.*-\([0123456789].*\).tbz2$,\1,p" | head -n 1`
fi
if [ -z "$MYVERSION" ]; then
MYVERSION=`ls -1 | sed -n "s,$BASENAME.*-\([0123456789].*\).zip$,\1,p" | head -n 1`
fi