Skip to content

Commit

Permalink
Tweak Android app version code calculation
Browse files Browse the repository at this point in the history
Since we need to add 1 to the version code for `standard`
variant, we need to make sure that we increment the code
enough to avoid conflicts across runs.
  • Loading branch information
chrisbanes committed Nov 2, 2023
1 parent 465b710 commit b6d3236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
steps:
- name: Generate build number
shell: bash
run: echo "ORG_GRADLE_PROJECT_TIVI_VERSIONCODE=$(( $GITHUB_RUN_NUMBER + 10000 ))" >> $GITHUB_ENV
run: echo "ORG_GRADLE_PROJECT_TIVI_VERSIONCODE=$(( (GITHUB_RUN_NUMBER * 2) + 10000 ))" >> $GITHUB_ENV

- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4

Expand Down

0 comments on commit b6d3236

Please sign in to comment.