Skip to content

Commit b1e6108

Browse files
committed
0.2.0
1 parent 1191a53 commit b1e6108

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

Console.xcodeproj/project.pbxproj

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@
233233
buildPhases = (
234234
05BF7FF01BAC748800A88F65 /* Sources */,
235235
05BF7FF11BAC748800A88F65 /* Frameworks */,
236+
05CD94F71F8A8B3B00B60CFC /* ShellScript */,
236237
05BF7FF21BAC748800A88F65 /* Resources */,
237238
05CD94F41F8A8ABB00B60CFC /* CopyFiles */,
238239
);
@@ -320,6 +321,22 @@
320321
};
321322
/* End PBXResourcesBuildPhase section */
322323

324+
/* Begin PBXShellScriptBuildPhase section */
325+
05CD94F71F8A8B3B00B60CFC /* ShellScript */ = {
326+
isa = PBXShellScriptBuildPhase;
327+
buildActionMask = 2147483647;
328+
files = (
329+
);
330+
inputPaths = (
331+
);
332+
outputPaths = (
333+
);
334+
runOnlyForDeploymentPostprocessing = 0;
335+
shellPath = /bin/sh;
336+
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";
337+
};
338+
/* End PBXShellScriptBuildPhase section */
339+
323340
/* Begin PBXSourcesBuildPhase section */
324341
05BF7FF01BAC748800A88F65 /* Sources */ = {
325342
isa = PBXSourcesBuildPhase;

Console/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>0.1.0</string>
20+
<string>0.2.0</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>0.1.0</string>
24+
<string>85</string>
2525
<key>LSMinimumSystemVersion</key>
2626
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
2727
<key>NSHumanReadableCopyright</key>

0 commit comments

Comments
 (0)