Fixed version information updates of both the compiled code as well as the Gui.
This commit is contained in:
parent
f56a10646f
commit
db78f91af1
9
dist/gitdist.sh
vendored
9
dist/gitdist.sh
vendored
@ -82,9 +82,11 @@ cd .. && git-archive --format=tar --prefix=$SRCNAME/ $TAG | (cd $TMPDIR && tar x
|
|||||||
# Base of the package is the gui directory
|
# Base of the package is the gui directory
|
||||||
mv $SRCDIR/gui $BUILDDIR
|
mv $SRCDIR/gui $BUILDDIR
|
||||||
|
|
||||||
|
# Prepare tag for gui version
|
||||||
|
echo "SCYTHER_GUI_VERSION = \"$TAG\"" >$BUILDDIR/Gui/Version.py
|
||||||
|
|
||||||
# Prepare version.h with the correct flag (tag)
|
# Prepare version.h with the correct flag (tag)
|
||||||
echo "#define SVNVERSION \"Unknown\"" >$SRCDIR/src/version.h
|
echo "#define TAGVERSION \"$TAG\"" >$SRCDIR/src/version.h
|
||||||
echo "#define TAGVERSION \"$TAG\"" >>$SRCDIR/src/version.h
|
|
||||||
echo "" >>$SRCDIR/src/version.h
|
echo "" >>$SRCDIR/src/version.h
|
||||||
|
|
||||||
# Manual
|
# Manual
|
||||||
@ -119,9 +121,6 @@ BINDIR=$BUILDDIR/Scyther/Bin
|
|||||||
mkdir $BINDIR
|
mkdir $BINDIR
|
||||||
cp $BIN $BINDIR
|
cp $BIN $BINDIR
|
||||||
|
|
||||||
# Prepare tag for gui version
|
|
||||||
echo "SCYTHER_GUI_VERSION = \"$TAG\"" >$BUILDDIR/Gui/Version.py
|
|
||||||
|
|
||||||
# Compress the whole thing into an archive
|
# Compress the whole thing into an archive
|
||||||
cd $TMPDIR
|
cd $TMPDIR
|
||||||
if [ $ARCH = "w32" ]
|
if [ $ARCH = "w32" ]
|
||||||
|
@ -1 +1 @@
|
|||||||
SCYTHER_GUI_VERSION = "1.0-beta7"
|
SCYTHER_GUI_VERSION = "Unknown"
|
||||||
|
Loading…
Reference in New Issue
Block a user