Skip to content

Commit 44a7b36

Browse files
committed
Use the bitrise app title to detect staging build promotions
In 6464e3c we misunderstood what the app slug was and changed the way staging was detected to that quite late in the process. Turns out the app slug is the unique identifier for the app (a UUID), not the application name itself which means that those `run_if` were never evaluated as `true`.
1 parent b4f1395 commit 44a7b36

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bitrise.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2163,7 +2163,7 @@ workflows:
21632163
envman add --key BITRISE_SCHEME --value FirefoxStaging
21642164
envman add --key EXPORT_METHOD --value development
21652165
run_if: |-
2166-
{{enveq "BITRISE_APP_SLUG" "staging-firefox-ios"}}
2166+
{{enveq "BITRISE_APP_TITLE" "staging-firefox-ios"}}
21672167
- script@1.2.1:
21682168
inputs:
21692169
- content: |-
@@ -2175,7 +2175,7 @@ workflows:
21752175
cd -
21762176
title: Set xcodeproj code_sign_identity
21772177
run_if: |-
2178-
{{enveq "BITRISE_APP_SLUG" "firefox-ios"}}
2178+
{{enveq "BITRISE_APP_TITLE" "firefox-ios"}}
21792179
- script@1.2.1:
21802180
title: NPM, ContentBlockerGen
21812181
inputs:
@@ -2269,7 +2269,7 @@ workflows:
22692269
- script@1.2.1:
22702270
title: Upload Firefox Prod Beta Symbols
22712271
run_if: |-
2272-
{{enveq "BITRISE_APP_SLUG" "firefox-ios"}}
2272+
{{enveq "BITRISE_APP_TITLE" "firefox-ios"}}
22732273
inputs:
22742274
- content: |-
22752275
#!/usr/bin/env bash
@@ -2279,7 +2279,7 @@ workflows:
22792279
- deploy-to-itunesconnect-application-loader@1:
22802280
title: Deploy to AppStoreConnect
22812281
run_if: |-
2282-
{{enveq "BITRISE_APP_SLUG" "firefox-ios"}}
2282+
{{enveq "BITRISE_APP_TITLE" "firefox-ios"}}
22832283
inputs:
22842284
- connection: 'off'
22852285
- app_password: "$APPLE_ACCOUNT_PW"

0 commit comments

Comments
 (0)