mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
mirror the version.sh change in trunk
This commit is contained in:
parent
9f9901b3fa
commit
b708c2f0cb
1 changed files with 5 additions and 3 deletions
|
@ -2,8 +2,10 @@
|
|||
#
|
||||
# $Id$
|
||||
|
||||
# convention: -TR MAJOR MINOR MAINT BETA - (each a single char)
|
||||
# BETA: "Z" for beta, "0" for stable
|
||||
# convention: -TR MAJOR MINOR MAINT STATUS - (each a single char)
|
||||
# STATUS: "X" for prerelease test builds,
|
||||
# "Z" for unsupported trunk builds,
|
||||
# "0" for stable, supported releases
|
||||
# these should be the only two lines you need to change
|
||||
PEERID_PREFIX="-TR093Z-"
|
||||
USERAGENT_PREFIX="0.93+"
|
||||
|
@ -14,7 +16,7 @@ SVN_REVISION=`find ./ -name "*\.[ch]" -o -name "*\.cpp" -o -name "*\.po" | \
|
|||
grep -v third-party | \
|
||||
cut -d"$Id:" -f3 | cut -d" " -f3 | sort -n | tail -n 1`
|
||||
|
||||
if test "x${PEERID_PREFIX//Z/}" = "x$PEERID_PREFIX";
|
||||
if [[ "x${PEERID_PREFIX//0-/}" != "x$PEERID_PREFIX" ]]
|
||||
then
|
||||
STABLE_RELEASE=yes
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue