Skip to content

Commit

Permalink
Release 7.107.1-0 (#2437)
Browse files Browse the repository at this point in the history
  • Loading branch information
dus7 authored Feb 5, 2024
1 parent f347d5a commit 8668127
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Configuration/Version.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MARKETING_VERSION = 7.107.0
MARKETING_VERSION = 7.107.1
2 changes: 1 addition & 1 deletion DuckDuckGo/Settings.bundle/Root.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<array>
<dict>
<key>DefaultValue</key>
<string>7.107.0</string>
<string>7.107.1</string>
<key>Key</key>
<string>version</string>
<key>Title</key>
Expand Down
10 changes: 5 additions & 5 deletions scripts/prepare_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")"
Expand All @@ -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"
Expand Down

0 comments on commit 8668127

Please sign in to comment.