fix after rebase
This commit is contained in:
@@ -292,6 +292,7 @@ jobs:
|
|||||||
APP_VERSION: ${{ needs.build.outputs.package-version }}
|
APP_VERSION: ${{ needs.build.outputs.package-version }}
|
||||||
BUILD_NUMBER: ${{ needs.build.outputs.build-number }}
|
BUILD_NUMBER: ${{ needs.build.outputs.build-number }}
|
||||||
BRANCH_NAME: ${{ github.ref_name }}
|
BRANCH_NAME: ${{ github.ref_name }}
|
||||||
|
COMMIT_SHA: ${{ github.sha }}
|
||||||
run: |
|
run: |
|
||||||
# Ensure the API key material is removed even if fastlane exits non-zero
|
# Ensure the API key material is removed even if fastlane exits non-zero
|
||||||
# (the step runs under `bash -e`, which would otherwise abort before cleanup).
|
# (the step runs under `bash -e`, which would otherwise abort before cleanup).
|
||||||
@@ -307,7 +308,8 @@ jobs:
|
|||||||
> asc_api_key.json
|
> asc_api_key.json
|
||||||
# app_platform is required in non-interactive mode: distribute_only otherwise
|
# app_platform is required in non-interactive mode: distribute_only otherwise
|
||||||
# calls fetch_app_platform, which prompts for input and crashes without a TTY.
|
# calls fetch_app_platform, which prompts for input and crashes without a TTY.
|
||||||
SHORT_SHA="$(git rev-parse --short HEAD)"
|
|
||||||
|
SHORT_SHA="${COMMIT_SHA:0:7}"
|
||||||
fastlane run upload_to_testflight \
|
fastlane run upload_to_testflight \
|
||||||
api_key_path:"$PWD/asc_api_key.json" \
|
api_key_path:"$PWD/asc_api_key.json" \
|
||||||
distribute_only:true \
|
distribute_only:true \
|
||||||
|
|||||||
Reference in New Issue
Block a user