From b1e6108d27904b28465c9c1dafca63cb7d79bc2a Mon Sep 17 00:00:00 2001 From: macmade Date: Sun, 8 Oct 2017 18:36:06 +0200 Subject: [PATCH] 0.2.0 --- Console.xcodeproj/project.pbxproj | 17 +++++++++++++++++ Console/Info.plist | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/Console.xcodeproj/project.pbxproj b/Console.xcodeproj/project.pbxproj index 8a01b1b..7230285 100644 --- a/Console.xcodeproj/project.pbxproj +++ b/Console.xcodeproj/project.pbxproj @@ -233,6 +233,7 @@ buildPhases = ( 05BF7FF01BAC748800A88F65 /* Sources */, 05BF7FF11BAC748800A88F65 /* Frameworks */, + 05CD94F71F8A8B3B00B60CFC /* ShellScript */, 05BF7FF21BAC748800A88F65 /* Resources */, 05CD94F41F8A8ABB00B60CFC /* CopyFiles */, ); @@ -320,6 +321,22 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 05CD94F71F8A8B3B00B60CFC /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "#!/bin/bash\nif [ \"${CONFIGURATION}\" = \"Release\" ]; then\n plist=\"Console/Info.plist\"\n rev=$(git rev-list `git branch | grep -e \"^*\" | cut -d' ' -f 2` | wc -l)\n /usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $rev\" \"$plist\"\nfi"; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 05BF7FF01BAC748800A88F65 /* Sources */ = { isa = PBXSourcesBuildPhase; diff --git a/Console/Info.plist b/Console/Info.plist index 605c7ea..d0df0fe 100644 --- a/Console/Info.plist +++ b/Console/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.1.0 + 0.2.0 CFBundleSignature ???? CFBundleVersion - 0.1.0 + 85 LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) NSHumanReadableCopyright