diff --git a/dist/gitdist.sh b/dist/gitdist.sh index 153e0d4..c7b8043 100755 --- a/dist/gitdist.sh +++ b/dist/gitdist.sh @@ -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" ] diff --git a/gui/Gui/Version.py b/gui/Gui/Version.py index b4a78dc..720884f 100644 --- a/gui/Gui/Version.py +++ b/gui/Gui/Version.py @@ -1 +1 @@ -SCYTHER_GUI_VERSION = "1.0-beta7" +SCYTHER_GUI_VERSION = "Unknown"