Skip to content

Conversation

@licaon-kter
Copy link

This is one step to get it included in F-Droid, 😉 https://gitlab.com/fdroid/fdroiddata/-/merge_requests/12721

And start Tagging releases ;)

For easy maintenance maybe versionCode can be set as static instead of doing this?

val Project.versionCodeFromTags: Int get() = tags.countSubstrings("\n") + 2 // last new line + next tag

I see versioName is already fine:

const val versionName = "1.2.3"

If both are readable we can enable autoupdates, so F-Droid sees a new tag and builds the new version without manual intervention

@thgoebel
Copy link

For easy maintenance maybe versionCode can be set as static instead of doing this?

And while you set it, have it match the value released on Google Play. Google Play has versionCode 35 for 1.2.3, but from source it will be versionCode 8.

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