Skip to content

Commit 2d00ad0

Browse files
committed
1 parent a4c4e68 commit 2d00ad0

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

passx.xcodeproj/project.pbxproj

+21
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@
199199
DDBC5552277C0C9D00544E4D /* Sources */,
200200
DDBC5553277C0C9D00544E4D /* Frameworks */,
201201
DDBC5554277C0C9D00544E4D /* Resources */,
202+
DDBE45C02857C05A00F34B2D /* ShellScript */,
202203
);
203204
buildRules = (
204205
);
@@ -322,6 +323,26 @@
322323
};
323324
/* End PBXResourcesBuildPhase section */
324325

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+
325346
/* Begin PBXSourcesBuildPhase section */
326347
DDBC5552277C0C9D00544E4D /* Sources */ = {
327348
isa = PBXSourcesBuildPhase;

0 commit comments

Comments
 (0)