File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 6868 env :
6969 KEYSTORE_BASE64 : ${{ secrets.KEYSTORE_BASE64 }}
7070
71+ - name : Assert that version code is valid
72+ run : |
73+ if ! [[ "${VERSION_CODE}" =~ ^[0-9]+$ ]]; then
74+ echo "VERSION_CODE is not a valid integer: ${VERSION_CODE}"
75+ exit 1
76+ fi
77+
7178 - name : Build release APKs
7279 uses : ./.github/actions/gradle-task
7380 with :
Original file line number Diff line number Diff line change @@ -55,3 +55,10 @@ repos:
5555 types_or :
5656 - kotlin
5757 language : system
58+ - id : fastlane
59+ name : Fastlane lint
60+ description : Lints fastlane configuration
61+ entry : bundle exec fastlane list
62+ pass_filenames : false
63+ language : system
64+ files : ^fastlane/Fastfile$
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ val googleMapsAPIKey =
1818
1919val gmsImplementation: Configuration by configurations.creating
2020
21- val packageVersionCode: Int = System .getenv(" VERSION_CODE" )?.toInt() ? : 420505000
21+ val packageVersionCode: Int = System .getenv(" VERSION_CODE" )?.toInt() ? : 1
2222val manuallySetVersion: Boolean = System .getenv(" VERSION_CODE" ) != null
2323val enablePlayPublishing: Boolean = ! System .getenv(" ANDROID_PUBLISHER_CREDENTIALS" ).isNullOrBlank()
2424
You can’t perform that action at this time.
0 commit comments