mirror of
https://github.com/bitwarden/android.git
synced 2026-03-09 03:33:36 -05:00
[PM-15176] Update script path for CI build info (#4493)
This commit is contained in:
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@@ -184,6 +184,15 @@ jobs:
|
|||||||
distribution: "temurin"
|
distribution: "temurin"
|
||||||
java-version: ${{ env.JAVA_VERSION }}
|
java-version: ${{ env.JAVA_VERSION }}
|
||||||
|
|
||||||
|
- name: Update app CI Build info
|
||||||
|
run: |
|
||||||
|
./scripts/update_app_ci_build_info.sh \
|
||||||
|
$GITHUB_REPOSITORY \
|
||||||
|
$GITHUB_REF_NAME \
|
||||||
|
$GITHUB_SHA \
|
||||||
|
$GITHUB_RUN_ID \
|
||||||
|
$GITHUB_RUN_ATTEMPT
|
||||||
|
|
||||||
- name: Increment version
|
- name: Increment version
|
||||||
run: |
|
run: |
|
||||||
DEFAULT_VERSION_CODE=$((11000+$GITHUB_RUN_NUMBER))
|
DEFAULT_VERSION_CODE=$((11000+$GITHUB_RUN_NUMBER))
|
||||||
@@ -462,7 +471,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Update app CI Build info
|
- name: Update app CI Build info
|
||||||
run: |
|
run: |
|
||||||
./Scripts/update_app_ci_build_info.sh $GITHUB_REPOSITORY $GITHUB_REF_NAME $GITHUB_SHA $GITHUB_RUN_ID $GITHUB_RUN_ATTEMPT
|
./scripts/update_app_ci_build_info.sh \
|
||||||
|
$GITHUB_REPOSITORY \
|
||||||
|
$GITHUB_REF_NAME \
|
||||||
|
$GITHUB_SHA \
|
||||||
|
$GITHUB_RUN_ID \
|
||||||
|
$GITHUB_RUN_ATTEMPT
|
||||||
|
|
||||||
# Start from 11000 to prevent collisions with mobile build version codes
|
# Start from 11000 to prevent collisions with mobile build version codes
|
||||||
- name: Increment version
|
- name: Increment version
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
#!/bin/sh
|
|
||||||
# CI Build Info Updater
|
# CI Build Info Updater
|
||||||
#
|
#
|
||||||
# Updates the ci.properties file with additional info from the CI build.
|
# Updates the ci.properties file with additional info from the CI build.
|
||||||
|
|||||||
Reference in New Issue
Block a user