From fc036ee76d5203851cc1db99641588ec85da4bef Mon Sep 17 00:00:00 2001 From: Dan Cunningham Date: Wed, 11 Sep 2024 13:55:58 -0700 Subject: [PATCH] Add 'none' option to version bumping. (#813) This avoids long Test Flight reviews for incremental build releases. This according to Apple: "A review is only required for the first build of a version and subsequent builds may not need a full review. Testing can begin once a build is approved." . https://developer.apple.com/help/app-store-connect/test-a-beta-version/testflight-overview/ Signed-off-by: Dan Cunningham --- .github/workflows/publish.yml | 1 + fastlane/Fastfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1c0d720f..336b229e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,6 +9,7 @@ on: type: choice description: 'Select version bump type:' options: + - none - patch - minor - major diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 600ee55d..2782273f 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -100,7 +100,7 @@ platform :ios do type = options[:bump] - if !options[:isfeaturebuild] + if !options[:isfeaturebuild] && type != 'none' increment_version_number_in_xcodeproj( bump_type: type, xcodeproj: 'openHAB.xcodeproj',