File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 199
199
DDBC5552277C0C9D00544E4D /* Sources */,
200
200
DDBC5553277C0C9D00544E4D /* Frameworks */,
201
201
DDBC5554277C0C9D00544E4D /* Resources */,
202
+ DDBE45C02857C05A00F34B2D /* ShellScript */,
202
203
);
203
204
buildRules = (
204
205
);
322
323
};
323
324
/* End PBXResourcesBuildPhase section */
324
325
326
+ /* Begin PBXShellScriptBuildPhase section */
327
+ DDBE45C02857C05A00F34B2D /* ShellScript */ = {
328
+ isa = PBXShellScriptBuildPhase;
329
+ buildActionMask = 2147483647;
330
+ files = (
331
+ );
332
+ inputFileListPaths = (
333
+ );
334
+ inputPaths = (
335
+ );
336
+ outputFileListPaths = (
337
+ );
338
+ outputPaths = (
339
+ );
340
+ runOnlyForDeploymentPostprocessing = 0;
341
+ shellPath = /bin/sh;
342
+ shellScript = "GIT_RELEASE_VERSION=$(git describe --tags --always --dirty)\nCOMMITS=$(git rev-list HEAD | wc -l)\nCOMMITS=$(($COMMITS))\ndefaults write \"${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH%.*}\" \"CFBundleShortVersionString\" \"${GIT_RELEASE_VERSION#*v}\"\ndefaults write \"${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH%.*}\" \"CFBundleVersion\" \"${COMMITS}\" \n";
343
+ };
344
+ /* End PBXShellScriptBuildPhase section */
345
+
325
346
/* Begin PBXSourcesBuildPhase section */
326
347
DDBC5552277C0C9D00544E4D /* Sources */ = {
327
348
isa = PBXSourcesBuildPhase;
You can’t perform that action at this time.
0 commit comments