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=c8a6bf2c3bead88ebfcf01f3f78b4a726a3904a5;hpb=e21e7c7dd15515fc76de9af3ac14eba7a0041c28 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():