From e2636564998521de783e4e40312608dfcef2fb04 Mon Sep 17 00:00:00 2001 From: singularity Date: Fri, 16 Apr 2021 20:34:13 +0800 Subject: [PATCH] Update Version --- ios/Runner.xcodeproj/project.pbxproj | 33 +++++++++++++++------------- ios/Runner/Info.plist | 4 ++-- pubspec.yaml | 2 +- 3 files changed, 21 insertions(+), 18 deletions(-) diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 2305a082..425dd042 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -715,7 +715,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + CURRENT_PROJECT_VERSION = 3; DEVELOPMENT_TEAM = KF7M99CN68; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; @@ -724,6 +724,7 @@ "$(inherited)", "@executable_path/Frameworks", ); + MARKETING_VERSION = 0.2.0; PRODUCT_BUNDLE_IDENTIFIER = "io.github.danxi-dev.danxi"; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTS_MACCATALYST = NO; @@ -746,12 +747,12 @@ CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 3; DEVELOPMENT_TEAM = KF7M99CN68; GCC_C_LANGUAGE_STANDARD = gnu11; IBSC_MODULE = watchExtension_Extension; INFOPLIST_FILE = watchExtension/Info.plist; - MARKETING_VERSION = 0.1.1; + MARKETING_VERSION = 0.2.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = "io.github.danxi-dev.danxi.watchkitapp"; @@ -779,12 +780,12 @@ CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 3; DEVELOPMENT_TEAM = KF7M99CN68; GCC_C_LANGUAGE_STANDARD = gnu11; IBSC_MODULE = watchExtension_Extension; INFOPLIST_FILE = watchExtension/Info.plist; - MARKETING_VERSION = 0.1.1; + MARKETING_VERSION = 0.2.0; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = "io.github.danxi-dev.danxi.watchkitapp"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -809,12 +810,12 @@ CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 3; DEVELOPMENT_TEAM = KF7M99CN68; GCC_C_LANGUAGE_STANDARD = gnu11; IBSC_MODULE = watchExtension_Extension; INFOPLIST_FILE = watchExtension/Info.plist; - MARKETING_VERSION = 0.1.1; + MARKETING_VERSION = 0.2.0; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = "io.github.danxi-dev.danxi.watchkitapp"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -837,7 +838,7 @@ CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 3; DEVELOPMENT_TEAM = KF7M99CN68; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = "watchExtension Extension/Info.plist"; @@ -846,7 +847,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 0.1.1; + MARKETING_VERSION = 0.2.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = "io.github.danxi-dev.danxi.watchkitapp.watchExtension"; @@ -871,7 +872,7 @@ CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 3; DEVELOPMENT_TEAM = KF7M99CN68; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = "watchExtension Extension/Info.plist"; @@ -880,7 +881,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 0.1.1; + MARKETING_VERSION = 0.2.0; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = "io.github.danxi-dev.danxi.watchkitapp.watchExtension"; PRODUCT_NAME = "${TARGET_NAME}"; @@ -903,7 +904,7 @@ CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 3; DEVELOPMENT_TEAM = KF7M99CN68; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = "watchExtension Extension/Info.plist"; @@ -912,7 +913,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 0.1.1; + MARKETING_VERSION = 0.2.0; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = "io.github.danxi-dev.danxi.watchkitapp.watchExtension"; PRODUCT_NAME = "${TARGET_NAME}"; @@ -1045,7 +1046,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + CURRENT_PROJECT_VERSION = 3; DEVELOPMENT_TEAM = KF7M99CN68; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; @@ -1054,6 +1055,7 @@ "$(inherited)", "@executable_path/Frameworks", ); + MARKETING_VERSION = 0.2.0; PRODUCT_BUNDLE_IDENTIFIER = "io.github.danxi-dev.danxi"; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTS_MACCATALYST = NO; @@ -1072,7 +1074,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + CURRENT_PROJECT_VERSION = 3; DEVELOPMENT_TEAM = KF7M99CN68; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; @@ -1081,6 +1083,7 @@ "$(inherited)", "@executable_path/Frameworks", ); + MARKETING_VERSION = 0.2.0; PRODUCT_BUNDLE_IDENTIFIER = "io.github.danxi-dev.danxi"; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTS_MACCATALYST = NO; diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index dc9f7fa1..7a3b46f9 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) + $(MARKETING_VERSION) CFBundleSignature ???? CFBundleVersion - $(FLUTTER_BUILD_NUMBER) + $(CURRENT_PROJECT_VERSION) LSApplicationCategoryType public.app-category.utilities LSApplicationQueriesSchemes diff --git a/pubspec.yaml b/pubspec.yaml index 24f965ae..842ff552 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 0.1.1+2 +version: 0.2.0+3 environment: sdk: ">=2.7.0 <3.0.0"