X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Enjoyable.xcodeproj%2Fproject.pbxproj;h=837baa93f94ddfab9f269329417c8c858e6b6a8a;hp=901a000a2c0e9f39d5aac1a87d486b2f2cb34976;hb=73e32e5c30b83a9690d705ac5351d51327283b21;hpb=5f3311b43f99187a9bfe2c0b38da7e64d6986da1 diff --git a/Enjoyable.xcodeproj/project.pbxproj b/Enjoyable.xcodeproj/project.pbxproj index 901a000..837baa9 100644 --- a/Enjoyable.xcodeproj/project.pbxproj +++ b/Enjoyable.xcodeproj/project.pbxproj @@ -348,7 +348,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "#!/bin/sh\n\nplist=\"${PROJECT_DIR}/${INFOPLIST_FILE}\"\ndir=\"$(dirname \"$plist\")\"\n\n# Only increment the build number if source files have changed\nif [ -n \"$(find \"$dir\" \\! -path \"*xcuserdata*\" \\! -path \"*.git*\" \\! -name .DS_Store -newer \"$plist\")\" ]; then\n buildnum=$(/usr/libexec/Plistbuddy -c \"Print CFBundleVersion\" \"$plist\")\n if [ -z \"$buildnum\" ]; then\n echo \"No build number in $plist\"\n exit 2\n fi\n buildnum=$(expr $buildnum + 1)\n /usr/libexec/Plistbuddy -c \"Set CFBundleVersion $buildnum\" \"$plist\"\n echo \"Incremented build number to $buildnum\"\nelse\n echo \"Not incrementing build number as source files have not changed\"\nfi\n"; + shellScript = "#!/bin/sh\n\nplist=\"${PROJECT_DIR}/${INFOPLIST_FILE}\"\ndir=\"$(dirname \"$plist\")\"\n\n# Only increment the build number if source files have changed\nif [ -n \"$(find \"$dir\" \\! -path \"*xcuserdata*\" \\! -path \"*.git*\" \\! -name .DS_Store \\! -path \"*Website*\" -newer \"$plist\")\" ]; then\n buildnum=$(/usr/libexec/Plistbuddy -c \"Print CFBundleVersion\" \"$plist\")\n if [ -z \"$buildnum\" ]; then\n echo \"No build number in $plist\"\n exit 2\n fi\n buildnum=$(expr $buildnum + 1)\n /usr/libexec/Plistbuddy -c \"Set CFBundleVersion $buildnum\" \"$plist\"\n echo \"Incremented build number to $buildnum\"\nelse\n echo \"Not incrementing build number as source files have not changed\"\nfi\n"; }; EED7E81616E7B547004A0BA4 /* Generate Help Index */ = { isa = PBXShellScriptBuildPhase;