Skip to content

Conversation

luke-rogers
Copy link
Contributor

Add support for incrementing the version name via the increment_version_name plugin

@edodusi
Copy link
Contributor

edodusi commented Apr 18, 2023

@luke-rogers I think we should use gradle properties to better handle versioning.
So for example, taken from the fastlane docs:

gradle(
  # ...

  properties: {
    "android.injected.version.code" => 100,
    "android.injected.version.name" => "1.0.0",
    # ...
  }
)

Here we can set the version name to a specific value. This requires also a change in the app/build.gradle but so is using this plugin.

What do you think?

@luke-rogers
Copy link
Contributor Author

luke-rogers commented Apr 19, 2023

I did go down a similar route when starting this but seemed to run into the issue documented here, hence switching to use the plugin instead. Although that was using the version overrides, rather than updating app/build.gradle directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants