diff --git a/TeslaTunes.xcodeproj/project.pbxproj b/TeslaTunes.xcodeproj/project.pbxproj index e90e9f8..602fab9 100644 --- a/TeslaTunes.xcodeproj/project.pbxproj +++ b/TeslaTunes.xcodeproj/project.pbxproj @@ -302,7 +302,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/bash; - shellScript = "set -o errexit\n\n#[ $BUILD_STYLE = Release ] || { echo Distribution target requires \"'Release'\" build style; false; }\n\nVERSION=$(defaults read \"$BUILT_PRODUCTS_DIR/$PROJECT_NAME.app/Contents/Info\" CFBundleVersion)\n#VERSIONTXT=$(defaults read \"$BUILT_PRODUCTS_DIR/$PROJECT_NAME.app/Contents/Info\" CFBundleShortVersionString)\nDOWNLOAD_BASE_URL=\"http://teslatunes.loci.net/app/\"\nRELEASENOTES_URL=\"https://github.com/tattwamasi/TeslaTunes/releases/tag/$VERSION\"\n\nARCHIVE_FILENAME=\"${PROJECT_NAME}_${VERSION}.zip\"\nDOWNLOAD_URL=\"https://github.com/tattwamasi/TeslaTunes/releases/download/${VERSION}/TeslaTunes.app.zip\"\n\nWD=$PWD\ncd \"$BUILT_PRODUCTS_DIR\"\nrm -f \"$PROJECT_NAME\"*.zip\nditto -ck --keepParent \"$PROJECT_NAME.app\" \"$ARCHIVE_FILENAME\"\n\nSIZE=$(stat -f %z \"$ARCHIVE_FILENAME\")\nPUBDATE=$(LC_TIME=en_US date +\"%a, %d %b %G %T %z\")\n\ncat <\nVersion $VERSION\n$RELEASENOTES_URL\n$PUBDATE\n\n\nEOF\n"; + shellScript = "set -o errexit\n\n#[ $BUILD_STYLE = Release ] || { echo Distribution target requires \"'Release'\" build style; false; }\n\nVERSION=$(defaults read \"$BUILT_PRODUCTS_DIR/$PROJECT_NAME.app/Contents/Info\" CFBundleVersion)\n#VERSIONTXT=$(defaults read \"$BUILT_PRODUCTS_DIR/$PROJECT_NAME.app/Contents/Info\" CFBundleShortVersionString)\nDOWNLOAD_BASE_URL=\"http://teslatunes.loci.net/app/\"\nRELEASENOTES_URL=\"https://github.com/tattwamasi/TeslaTunes/releases/tag/$VERSION\"\n\nARCHIVE_FILENAME=\"${PROJECT_NAME}_${VERSION}.zip\"\nDOWNLOAD_URL=\"https://github.com/tattwamasi/TeslaTunes/releases/download/${VERSION}/${ARCHIVE_FILENAME}\"\n\nWD=$PWD\ncd \"$BUILT_PRODUCTS_DIR\"\nrm -f \"$PROJECT_NAME\"*.zip\nditto -cj --keepParent \"$PROJECT_NAME.app\" \"$ARCHIVE_FILENAME\"\n\nSIZE=$(stat -f %z \"$ARCHIVE_FILENAME\")\nPUBDATE=$(LC_TIME=en_US date +\"%a, %d %b %G %T %z\")\n\ncat <\nVersion $VERSION\n$RELEASENOTES_URL\n$PUBDATE\n\n\nEOF\n"; }; E5CC88BB1AB5928F00C8951F /* ShellScript */ = { isa = PBXShellScriptBuildPhase;