X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=scripts%2Fbuild%2Fmacosx_makebundle.py;h=fe1ba87ced2ef532083173dea6bb658e911fec0f;hp=8ac439678a5a710a897a7c27bfbd1c19af23419a;hb=98fe341385f5b1bc0f652df61a85a0c7e00014d1;hpb=7e20a9c03064930cc8e281ff10ddb3e8edacc67d diff --git a/scripts/build/macosx_makebundle.py b/scripts/build/macosx_makebundle.py index 8ac43967..fe1ba87c 100755 --- a/scripts/build/macosx_makebundle.py +++ b/scripts/build/macosx_makebundle.py @@ -16,6 +16,7 @@ import os import os.path import sys +import commands # ============================== # Constants @@ -37,7 +38,7 @@ if(os.path.dirname(EXE_NAME)): CONTENTS_DIR = os.path.dirname(EXE_NAME) + "/" CONTENTS_DIR += BUNDLE_NAME + ".app/Contents/" -BUNDLE_VERSION = "0.3.0" +BUNDLE_VERSION = commands.getoutput("git --git-dir="+SOURCE_DIR+"/.git/ describe") ICON_FILE = "pics/quassel.icns" def createBundle():