From b4889df5b4182f2968b8e116578e43ccb44af98f Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Sun, 14 Jan 2018 21:12:30 +0000 Subject: [PATCH] Fix release build number bug. --- Doughnut.xcodeproj/project.pbxproj | 15 +++++++++++++++ Doughnut/Info.plist | 4 ++-- appcast.xml | 6 ++++++ 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/Doughnut.xcodeproj/project.pbxproj b/Doughnut.xcodeproj/project.pbxproj index 5a76efa..d6659de 100644 --- a/Doughnut.xcodeproj/project.pbxproj +++ b/Doughnut.xcodeproj/project.pbxproj @@ -510,6 +510,7 @@ 5D28D79F73E4F029E1F5DBB6 /* [CP] Check Pods Manifest.lock */, 838257C61F759F6F00DB4FD1 /* Sources */, 838257C71F759F6F00DB4FD1 /* Frameworks */, + 83D454AE200BFDD50078CA3D /* Bump Build Number */, 838257C81F759F6F00DB4FD1 /* Resources */, 4811B8B252A5287D2295B6A8 /* [CP] Embed Pods Frameworks */, D4838B1A99983D51CEADAC8F /* [CP] Copy Pods Resources */, @@ -748,6 +749,20 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; + 83D454AE200BFDD50078CA3D /* Bump Build Number */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Bump Build Number"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "buildNumber=$(/usr/libexec/PlistBuddy -c \"Print CFBundleVersion\" \"${PROJECT_DIR}/${INFOPLIST_FILE}\")\nbuildNumber=$(($buildNumber + 1))\n/usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $buildNumber\" \"${PROJECT_DIR}/${INFOPLIST_FILE}\""; + }; A3819D0A54A45BF19A833E00 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; diff --git a/Doughnut/Info.plist b/Doughnut/Info.plist index eee4e34..27dc420 100644 --- a/Doughnut/Info.plist +++ b/Doughnut/Info.plist @@ -17,9 +17,9 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.0.0 + 1.0.1 CFBundleVersion - 1 + 3 LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) NSAppTransportSecurity diff --git a/appcast.xml b/appcast.xml index 4b07930..e758036 100644 --- a/appcast.xml +++ b/appcast.xml @@ -6,6 +6,12 @@ Most recent changes with links to updates. en + + Version 1.0.1 + Sun, 14 January 2018 21:12:00 +0000 + + + Version 1.0.0 Sat, 13 January 2018 20:08:00 +0000