|
431 | 431 | 228B2F0A1EFFF73800B497F2 /* Sources */,
|
432 | 432 | 228B2F201EFFF73800B497F2 /* Resources */,
|
433 | 433 | 228B2F241EFFF73800B497F2 /* Frameworks */,
|
| 434 | + 227EB65224FDB9460077F96E /* ShellScript */, |
434 | 435 | );
|
435 | 436 | buildRules = (
|
436 | 437 | );
|
|
560 | 561 | };
|
561 | 562 | /* End PBXResourcesBuildPhase section */
|
562 | 563 |
|
| 564 | +/* Begin PBXShellScriptBuildPhase section */ |
| 565 | + 227EB65224FDB9460077F96E /* ShellScript */ = { |
| 566 | + isa = PBXShellScriptBuildPhase; |
| 567 | + buildActionMask = 2147483647; |
| 568 | + files = ( |
| 569 | + ); |
| 570 | + inputFileListPaths = ( |
| 571 | + ); |
| 572 | + inputPaths = ( |
| 573 | + ); |
| 574 | + outputFileListPaths = ( |
| 575 | + ); |
| 576 | + outputPaths = ( |
| 577 | + ); |
| 578 | + runOnlyForDeploymentPostprocessing = 0; |
| 579 | + shellPath = /bin/sh; |
| 580 | + shellScript = "#commit_id=$(git rev-parse --verify HEAD | cut -c 1-7)\nbuild_date=$(date \"+%b-%d-%Y %H:%M:%S\")\ntag=$(git describe --tags)\n\n#CFBundleShortVersionString #long version\n#CFBundleVersion #build \n\n#buildNumber=$(/usr/libexec/PlistBuddy -c \"Print CFBundleVersion\" \"${PROJECT_DIR}/${INFOPLIST_FILE}\")\n#buildNumber=$(($buildNumber + 1))\n/usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $build_date\" \"${PROJECT_DIR}/${INFOPLIST_FILE}\"\n/usr/libexec/PlistBuddy -c \"Set :CFBundleShortVersionString $tag\" \"${PROJECT_DIR}/${INFOPLIST_FILE}\"\n\n"; |
| 581 | + }; |
| 582 | +/* End PBXShellScriptBuildPhase section */ |
| 583 | + |
563 | 584 | /* Begin PBXSourcesBuildPhase section */
|
564 | 585 | 05DAE00D183323DD00409786 /* Sources */ = {
|
565 | 586 | isa = PBXSourcesBuildPhase;
|
|
824 | 845 | "$(inherited)",
|
825 | 846 | DISTRO,
|
826 | 847 | );
|
827 |
| - INFOPLIST_FILE = "Frakalog-Info.plist"; |
| 848 | + INFOPLIST_FILE = "Dockerinfo-Info.plist"; |
828 | 849 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
|
829 | 850 | MACOSX_DEPLOYMENT_TARGET = 10.7;
|
830 | 851 | "OTHER_CODE_SIGN_FLAGS[sdk=*]" = "--deep --force";
|
|
846 | 867 | COMBINE_HIDPI_IMAGES = YES;
|
847 | 868 | DEVELOPMENT_TEAM = 7G2GKABE9F;
|
848 | 869 | GCC_PREPROCESSOR_DEFINITIONS = DISTRO;
|
849 |
| - INFOPLIST_FILE = "Frakalog-Info.plist"; |
| 870 | + INFOPLIST_FILE = "Dockerinfo-Info.plist"; |
850 | 871 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
|
851 | 872 | MACOSX_DEPLOYMENT_TARGET = 10.7;
|
852 | 873 | "OTHER_CODE_SIGN_FLAGS[sdk=*]" = "--deep --force";
|
|
0 commit comments