Skip to content

Commit

Permalink
Feature: make versions dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
chepsi committed Nov 6, 2023
1 parent 7d7c16c commit 47dba23
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/deploy-to-playstore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,20 @@ jobs:
distribution: 'zulu'
java-version: '17'

- name: Combine strings
uses: michpohl/action-concatenate-strings@v1
with:
first: 1.0
second: ${{ github.run_number }}
separator: '.'
output-var-name: 'VERSION_NAME_STRING'

- name: Bump version
uses: chkfung/[email protected]
with:
gradlePath: app/build.gradle.kts
versionCode: ${{github.run_number}}
versionName: 1.0.1
versionName: $VERSION_NAME_STRING

- name: Assemble Release Bundle
run: ./gradlew bundleRelease
Expand Down

0 comments on commit 47dba23

Please sign in to comment.