Index: source/tools/dist/build-archives.sh =================================================================== --- source/tools/dist/build-archives.sh +++ source/tools/dist/build-archives.sh @@ -22,9 +22,6 @@ find binaries/ -name "*.po" | grep -v "$REGEX" | xargs rm -v || die "Error filtering languages." -SVN_REV=$(svnversion -n ../..) -echo "${SVN_REV}-release" > build/svn_revision/svn_revision.txt - # Build archive(s) - don't archive the _test.* mods pushd binaries/data/mods > /dev/null archives="" Index: source/tools/dist/build-osx-bundle.py =================================================================== --- source/tools/dist/build-osx-bundle.py +++ source/tools/dist/build-osx-bundle.py @@ -28,7 +28,11 @@ action="store_true") args = parser.parse_args() -BUNDLE_DMG_NAME = "0 A.D." +BUNDLE_IDENTIFIER = args.bundle_identifier +BUNDLE_VERSION = args.bundle_version +BUNDLE_MIN_OSX_VERSION = args.min_osx + +BUNDLE_DMG_NAME = f"0ad-{BUNDLE_VERSION}-alpha-osx64" BUNDLE_OUTPUT = "0 A.D..app" BUNDLE_CONTENTS = BUNDLE_OUTPUT + "/Contents" BUNDLE_BIN = BUNDLE_CONTENTS + "/MacOS" @@ -37,10 +41,6 @@ BUNDLE_PLUGINS = BUNDLE_CONTENTS + "/PlugIns" BUNDLE_SHAREDSUPPORT = BUNDLE_CONTENTS + "/SharedSupport" -BUNDLE_IDENTIFIER = args.bundle_identifier -BUNDLE_VERSION = args.bundle_version -BUNDLE_MIN_OSX_VERSION = args.min_osx - print("Creating bundle directories") shutil.rmtree(BUNDLE_OUTPUT, ignore_errors=True) Index: source/tools/dist/build-osx-executable.sh =================================================================== --- source/tools/dist/build-osx-executable.sh +++ source/tools/dist/build-osx-executable.sh @@ -29,6 +29,9 @@ fi # Assume this is called from trunk/ +SVN_REV=$(svnversion -n ../..) +echo "${SVN_REV}-release" > build/svn_revision/svn_revision.txt + cd "build/workspaces/" JOBS=${JOBS:="-j5"}