mirror of
https://github.com/kk7ds/chirp.git
synced 2024-09-21 10:37:15 +00:00
Store version in build/version
This commit is contained in:
parent
7fc0aa3b4c
commit
062e57fc0b
@ -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=""
|
||||
|
@ -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
1
build/version
Normal file
@ -0,0 +1 @@
|
||||
0.1.2
|
Loading…
Reference in New Issue
Block a user