From 1099b90a69be4f82191d7f037c24ee992ffbe4c3 Mon Sep 17 00:00:00 2001 From: kenji Date: Mon, 23 Sep 2019 20:42:13 +0200 Subject: [PATCH] Fix tag script --- SwiftiumTestingKit.xcodeproj/project.pbxproj | 2 ++ tag-release.sh | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/SwiftiumTestingKit.xcodeproj/project.pbxproj b/SwiftiumTestingKit.xcodeproj/project.pbxproj index 51782ff..7c1f92d 100644 --- a/SwiftiumTestingKit.xcodeproj/project.pbxproj +++ b/SwiftiumTestingKit.xcodeproj/project.pbxproj @@ -542,6 +542,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = ""; CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 3; DEFINES_MODULE = YES; DEVELOPMENT_TEAM = QH6KR5PAQ7; DYLIB_COMPATIBILITY_VERSION = 1; @@ -575,6 +576,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = ""; CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 3; DEFINES_MODULE = YES; DEVELOPMENT_TEAM = QH6KR5PAQ7; DYLIB_COMPATIBILITY_VERSION = 1; diff --git a/tag-release.sh b/tag-release.sh index fe8ef4e..c6ea987 100755 --- a/tag-release.sh +++ b/tag-release.sh @@ -1,6 +1,9 @@ #!/bin/sh -VERSION=$(/usr/libexec/PlistBuddy SwiftiumTestingKit/Info.plist -c "print CFBundleShortVersionString") +if [ $# -lt 1 ] ; then + echo "usage : `basename $0` 0.3.0"; + exit -1 +fi TAG=v$VERSION