Fixed version information updates of both the compiled code as well as the Gui.

This commit is contained in:
Cas Cremers 2007-05-20 16:14:40 +02:00
parent f56a10646f
commit db78f91af1
2 changed files with 5 additions and 6 deletions

9
dist/gitdist.sh vendored
View File

@ -82,9 +82,11 @@ cd .. && git-archive --format=tar --prefix=$SRCNAME/ $TAG | (cd $TMPDIR && tar x
# Base of the package is the gui directory
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)
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
# Manual
@ -119,9 +121,6 @@ BINDIR=$BUILDDIR/Scyther/Bin
mkdir $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
cd $TMPDIR
if [ $ARCH = "w32" ]

View File

@ -1 +1 @@
SCYTHER_GUI_VERSION = "1.0-beta7"
SCYTHER_GUI_VERSION = "Unknown"