Skip to content

Commit 82ebfbd

Browse files
committed
Version bump restore 11.0.0 with CI fix (#875)
1 parent 3814901 commit 82ebfbd

File tree

7 files changed

+13
-12
lines changed

7 files changed

+13
-12
lines changed

.circleci/config.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,12 @@ workflows:
9292
filters:
9393
branches:
9494
only:
95-
- /^.*main.*/
96-
name: Deploy release version over Testflight if MARKETING_VERION file updated
95+
- main
96+
- /^main-\d+$/
97+
name: Deploy release version over Testflight if MARKETING_VERSION file updated
9798
config-path: .circleci/deploy-release.yml
9899
mapping: |
99-
Client/Configuration/Common.xcconfig deploy-release true
100+
firefox-ios/Client/Configuration/Common.xcconfig deploy-release true
100101
- build-and-deploy-testflight-beta:
101102
name: Deploy beta version over Testflight
102103
filters:
@@ -109,5 +110,5 @@ workflows:
109110
filters:
110111
branches:
111112
only:
112-
- /^.*mob-3113-firefox-upgrade-133.*/
113+
- /^.*main.*/
113114
context: napps

.circleci/deploy-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
command: for ip in $(dig @8.8.8.8 github.com +short); do ssh-keyscan github.com,$ip; ssh-keyscan $ip; done 2>/dev/null >> ~/.ssh/known_hosts
3535
- run:
3636
name: extract Production XCConfig
37-
command: echo "$PRODUCTION_XCCONFIG" | base64 --decode > Client/Configuration/Production.xcconfig
37+
command: echo "$PRODUCTION_XCCONFIG" | base64 --decode > firefox-ios/Client/Configuration/Production.xcconfig
3838
- run:
3939
name: Execute bootstrap
4040
command: ./bootstrap.sh

.github/workflows/merge_tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Merge Unit Tests
22

33
on:
44
pull_request:
5-
branches: [ main, mob-3113-firefox-upgrade-133 ]
5+
branches: [main]
66

77
jobs:
88
execute_merge_tests:

.github/workflows/snapshot_tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Snapshot Tests
33
on:
44
pull_request:
55
paths:
6-
- 'Client/Configuration/Common.xcconfig'
6+
- 'firefox-ios/Client/Configuration/Common.xcconfig'
77

88
jobs:
99
execute_snapshot_tests:

.github/workflows/swift_lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: SwiftLint
22
on:
33
pull_request:
4-
branches: [ main, mob-3113-firefox-upgrade-133 ]
4+
branches: [main]
55
jobs:
66
build:
77
runs-on: ubuntu-latest

check_marketing_version.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
#!/bin/bash
1212

1313
# Get the current branch's MARKETING_VERSION
14-
CURRENT_VERSION=$(grep 'MARKETING_VERSION' Client/Configuration/Common.xcconfig | cut -d ' ' -f3)
14+
CURRENT_VERSION=$(grep 'MARKETING_VERSION' firefox-ios/Client/Configuration/Common.xcconfig | cut -d ' ' -f3)
1515

1616
if [ -n "$CIRCLECI" ]; then
1717
# CircleCI: Compare against the previous commit on the same branch
1818
echo "Running on CircleCI, checking against $CIRCLE_BRANCH~1"
1919

2020
# Check if there is a previous commit available
2121
if git rev-parse "$CIRCLE_BRANCH~1" >/dev/null 2>&1; then
22-
OLD_VERSION=$(git show "$CIRCLE_BRANCH~1:Client/Configuration/Common.xcconfig" | grep 'MARKETING_VERSION' | cut -d ' ' -f3)
22+
OLD_VERSION=$(git show "$CIRCLE_BRANCH~1:firefox-ios/Client/Configuration/Common.xcconfig" | grep 'MARKETING_VERSION' | cut -d ' ' -f3)
2323
else
2424
echo "No previous commit found on $CIRCLE_BRANCH. Assuming the current version."
2525
OLD_VERSION=$CURRENT_VERSION
@@ -33,7 +33,7 @@ elif [ -n "$GITHUB_ACTIONS" ]; then
3333
git fetch origin main || { echo "Failed to fetch main branch"; exit 1; }
3434

3535
# Get the MARKETING_VERSION from the main branch
36-
OLD_VERSION=$(git show origin/main:Client/Configuration/Common.xcconfig | grep 'MARKETING_VERSION' | cut -d ' ' -f3)
36+
OLD_VERSION=$(git show origin/main:firefox-ios/Client/Configuration/Common.xcconfig | grep 'MARKETING_VERSION' | cut -d ' ' -f3)
3737
if [ $? -ne 0 ]; then
3838
echo "Failed to retrieve MARKETING_VERSION from main branch"
3939
exit 1

firefox-ios/Client/Configuration/Common.xcconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ DYLIB_COMPATIBILITY_VERSION = 1;
3535
DYLIB_CURRENT_VERSION = 1;
3636
DYLIB_INSTALL_NAME_BASE = @rpath
3737
PRODUCT_BUNDLE_IDENTIFIER = org.mozilla.ios.$(PRODUCT_NAME)
38-
MARKETING_VERSION = 10.6.1
38+
MARKETING_VERSION = 11.0.0

0 commit comments

Comments
 (0)