1
0
Fork 0
mirror of https://github.com/bitwarden/android.git synced 2025-02-22 08:39:01 +03:00

[PM-15176] Update script path for CI build info ()

This commit is contained in:
Patrick Honkonen 2024-12-20 13:06:56 -05:00 committed by GitHub
parent 3be2242431
commit ae0bf6318d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 2 deletions
.github/workflows
scripts

View file

@ -184,6 +184,15 @@ jobs:
distribution: "temurin"
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
run: |
DEFAULT_VERSION_CODE=$((11000+$GITHUB_RUN_NUMBER))
@ -462,7 +471,12 @@ jobs:
- 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
./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
- name: Increment version

View file

@ -1,4 +1,3 @@
#!/bin/sh
# CI Build Info Updater
#
# Updates the ci.properties file with additional info from the CI build.