Skip to content

versionCode decreased? #8

Description

@IzzySoft

Looks like today's release got its versionCode messed up:

package: name='com.puutaro.commandclick' versionCode='14' versionName='1.1.14'

14 < 50, so no update – and downgrades are not allowed. I assume some typo happened, with 14 also being the "patch" part of versionname? Could you please fix?

Looking at the previous versions:

package: name='com.puutaro.commandclick' versionCode='53' versionName='0.0.53'
package: name='com.puutaro.commandclick' versionCode='50' versionName='0.0.50'

… seems to confirm something's wrong with the setup there.

    defaultConfig {
        applicationId = "com.puutaro.commandclick"
        minSdk = 27
        targetSdk = 33
        versionCode = 14
        versionName = "${versionMajor}.${versionMinor}.${versionCode}"

Oof. versionCode must ALWAYS be INCREASED – and can NEVER be DECREASED. Which is why my repo still shows v0.0.53 from September as latest version (all releases after that are considered "older" as they have a lower versionCode). Those having installed that (or any previous one) won't be able to update before you reach some x.x.54 with your current setup.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions