Skip to content

Commit 41e4fb7

Browse files
committed
minor workflow patch
1 parent 23abd24 commit 41e4fb7

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

.github/workflows/profile-release.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,14 @@ env:
4949
NODE_VERSION: '18'
5050
JAVA_VERSION: '21'
5151
FALLBACK_VERSION_NAME: '2.0.9'
52-
FALLBACK_BUILD_NUMBER: '16'
52+
FALLBACK_BUILD_NUMBER: '16'
5353

5454
jobs:
5555
# Detect profile and release configuration
5656
detect-release:
5757
runs-on: ubuntu-latest
5858
outputs:
5959
profile: ${{ steps.detect.outputs.profile }}
60-
version: ${{ steps.detect.outputs.version }}
6160
build_type: ${{ steps.detect.outputs.build_type }}
6261
deploy: ${{ steps.detect.outputs.deploy }}
6362
release_track: ${{ steps.detect.outputs.release_track }}
@@ -197,7 +196,7 @@ jobs:
197196
- name: Checkout code
198197
uses: actions/checkout@v4
199198
with:
200-
fetch-depth: 0 # need tags
199+
fetch-depth: 0 # need tags
201200
fetch-tags: true
202201

203202
- name: Configure AWS credentials
@@ -362,16 +361,16 @@ jobs:
362361
- name: Download resolved versions
363362
uses: actions/download-artifact@v4
364363
with:
365-
name: versions
364+
name: versions
366365

367366
- name: Source versions
368367
run: |
369-
set -e
370-
source ./versions.env
371-
echo "Android building: $ANDROID_VERSION_NAME ($ANDROID_VERSION_CODE)"
372-
# (Optionally export to this job's env)
373-
echo "ANDROID_VERSION_NAME=$ANDROID_VERSION_NAME" >> $GITHUB_ENV
374-
echo "ANDROID_VERSION_CODE=$ANDROID_VERSION_CODE" >> $GITHUB_ENV
368+
set -e
369+
source ./versions.env
370+
echo "Android building: $ANDROID_VERSION_NAME ($ANDROID_VERSION_CODE)"
371+
# (Optionally export to this job's env)
372+
echo "ANDROID_VERSION_NAME=$ANDROID_VERSION_NAME" >> $GITHUB_ENV
373+
echo "ANDROID_VERSION_CODE=$ANDROID_VERSION_CODE" >> $GITHUB_ENV
375374
376375
- name: Setup profile environment
377376
run: |
@@ -543,16 +542,16 @@ jobs:
543542
- name: Download resolved versions
544543
uses: actions/download-artifact@v4
545544
with:
546-
name: versions
545+
name: versions
547546

548547
- name: Source versions & bump Info.plist
549548
run: |
550-
set -e
551-
source ./versions.env
552-
echo "iOS building: $IOS_VERSION ($IOS_BUILD_NUMBER)"
553-
# enforce parity in the app:
554-
/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $IOS_VERSION" ios/NavigatorApp/Info.plist
555-
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $IOS_BUILD_NUMBER" ios/NavigatorApp/Info.plist || true
549+
set -e
550+
source ./versions.env
551+
echo "iOS building: $IOS_VERSION ($IOS_BUILD_NUMBER)"
552+
# enforce parity in the app:
553+
/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $IOS_VERSION" ios/NavigatorApp/Info.plist
554+
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $IOS_BUILD_NUMBER" ios/NavigatorApp/Info.plist || true
556555
557556
- name: Setup profile environment
558557
run: |

0 commit comments

Comments
 (0)