Skip to content

Commit

Permalink
Hard override of fastlane version code
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrob33 committed Sep 15, 2022
1 parent a6c9e54 commit 37e1646
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ val localProps = Version(
* local.properties when running local builds.
*/

val appVersionCode: Int =
cliProps.code ?:
localProps.code ?:
throw InvalidUserDataException("No versionCode provided. You must provide a version code via CLI properties or local.properties.")

val appVersionName: String =
cliProps.name ?:
localProps.name ?:
throw InvalidUserDataException("No versionName provided. You must provide a version name via CLI properties or local.properties.")
val appVersionCode: Int = 31
// cliProps.code ?:
// localProps.code ?:
// throw InvalidUserDataException("No versionCode provided. You must provide a version code via CLI properties or local.properties.")

val appVersionName: String = "8.0.0"
// cliProps.name ?:
// localProps.name ?:
// throw InvalidUserDataException("No versionName provided. You must provide a version name via CLI properties or local.properties.")

android {
compileSdk = AppConfig.compileSdk
Expand Down

0 comments on commit 37e1646

Please sign in to comment.