Skip to content

Alpha/beta release best practices #6258

@mnalis

Description

@mnalis
  • when making an alpha of beta release, it would be useful to mark it is as such.

    for example, when 5.2.0-alpha was released, it was correctly tagged in git tag as 5.2.0-alpha, but its versionName in app/build.gradle was set to 5.2.0.

    It would've been much better if it also were set to 5.2.0-alpha, so users will know it is an an alpha (both in the app, and when viewing app versions on app stores etc.)

  • when making a regular release after alpha/beta (actually when making a new release of any kind), we should always increase at least the versionCode in app/build.gradle (and likely versionName too, see above)

    that didn't happen with 5.2.0 release, but instead both 5.2.0-alpha and 5.2.0 release had same versionCode=1049.

    That is bad for multiple reasons:

    • users who have installed alpha won't be offered (and maybe be able at all?) to upgrade to the release (as it looks like same version)
    • f-droid at least might have issues with different releases claiming to be the same, so might have problems to build/publish the release at all (I'm trying to handle that at https://gitlab.com/fdroid/fdroiddata/-/merge_requests/21058)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions