Skip to content

Commit

Permalink
Added: version code update on build
Browse files Browse the repository at this point in the history
  • Loading branch information
capcom6 committed Nov 20, 2023
1 parent 3915688 commit 2b4b10f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- name: Set App Version
run: |
sed -i "s/versionName.*/versionName \"${GITHUB_REF_NAME#v}\"/" app/build.gradle
sed -i "s/versionCode.*/versionCode $(( ($(date +%s) - $(date -d "2022-06-15" +%s)) / 86400 ))/" app/build.gradle
#1
- name: Decode Keystore
Expand Down

0 comments on commit 2b4b10f

Please sign in to comment.