Skip to content

[Feature] Include a value for an int version useful for Android ApplicationVersion #3340

Open
@diegosasw

Description

@diegosasw

Feature request to include some value that only increases so that it can be used as an int.

Context

Some systems, like Google Play Store for Android apps, have something called ApplicationVersion which is an integer that should only increase.

Using GitVersion is great for SemVer, for example, but it doesn't seem to have anything that outputs a straightforward integer version that could only increase.

Using a trick like concatenating major, minor and patch version would be undesirable as
0.0.123 would be concatenated to 123 but it would be smaller than 0.1.0 which would be concatenated to 10

Possible Implementation

Include a total git commit or similar

git rev-list --count --all

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions