Store version in build/version

This commit is contained in:
Dan Smith 2008-07-20 14:55:05 -07:00
parent 7fc0aa3b4c
commit 062e57fc0b
3 changed files with 4 additions and 9 deletions

View File

@ -1,9 +1,6 @@
#!/bin/bash
LOCAL_VERSION=
eval $(cat mainapp.py | grep ^DRATS_VERSION | sed 's/ //g')
#VERSION=${DRATS_VERSION}${LOCAL_VERSION}
VERSION=0.1.1
VERSION=$(cat build/version)
INCLUDE="COPYING"
TMP=$(mktemp -d)
EXCLUDE=""

View File

@ -2,10 +2,7 @@
OUTPUT=$(echo "c:\\cygwin\\${1}/" | sed 's/\//\\/'g)
LOCAL_VERSION=
#eval $(cat mainapp.py | grep ^DRATS_VERSION | sed 's/ //g')
#VERSION=${DRATS_VERSION}${LOCAL_VERSION}
VERSION=0.1.2b
VERSION=$(cat build/version)
ZIP=${OUTPUT}chirp-$VERSION-win32.zip
IST=${OUTPUT}chirp-$VERSION-installer.exe
LOG=d-rats_build.log
@ -32,7 +29,7 @@ copy_lib() {
copy_data() {
list="COPYING"
for i in $list; do
cp -v $i dist >> $LOG
cp -v $i $dist >> $LOG
done
}

1
build/version Normal file
View File

@ -0,0 +1 @@
0.1.2