From 86681277da832f89a837cee8c4b328fad313238c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariusz=20=C5=9Apiewak?= Date: Mon, 5 Feb 2024 16:56:46 +0100 Subject: [PATCH] Release 7.107.1-0 (#2437) --- Configuration/Version.xcconfig | 2 +- DuckDuckGo/Settings.bundle/Root.plist | 2 +- scripts/prepare_release.sh | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Configuration/Version.xcconfig b/Configuration/Version.xcconfig index d31068acdf..fffff143d7 100644 --- a/Configuration/Version.xcconfig +++ b/Configuration/Version.xcconfig @@ -1 +1 @@ -MARKETING_VERSION = 7.107.0 +MARKETING_VERSION = 7.107.1 diff --git a/DuckDuckGo/Settings.bundle/Root.plist b/DuckDuckGo/Settings.bundle/Root.plist index bcd44a47ed..70371a4ad5 100644 --- a/DuckDuckGo/Settings.bundle/Root.plist +++ b/DuckDuckGo/Settings.bundle/Root.plist @@ -6,7 +6,7 @@ DefaultValue - 7.107.0 + 7.107.1 Key version Title diff --git a/scripts/prepare_release.sh b/scripts/prepare_release.sh index 4a5bde66d3..d413781f84 100755 --- a/scripts/prepare_release.sh +++ b/scripts/prepare_release.sh @@ -153,6 +153,11 @@ create_build_branch() { local temp_file local latest_build_number + if [[ $is_hotfix ]]; then + version=$(cut -d' ' -f3 < "${base_dir}/Configuration/Version.xcconfig") + version=$(bump_patch_number "$version") + fi + temp_file=$(mktemp) bundle exec fastlane latest_build_number_for_version version:"$version" file_name:"$temp_file" latest_build_number="$(<"$temp_file")" @@ -171,11 +176,6 @@ create_build_branch() { update_marketing_version() { printf '%s' "Setting app version ... " - if [[ $is_hotfix ]]; then - version=$(cut -d' ' -f3 < "${base_dir}/Configuration/Version.xcconfig") - version=$(bump_patch_number "$version") - fi - "$script_dir/set_version.sh" "${version}" git add "${base_dir}/Configuration/Version.xcconfig" \ "${base_dir}/DuckDuckGo/Settings.bundle/Root.plist"