Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
diegosasw opened this issue Jan 15, 2023 · 3 comments
Labels
Milestone

Comments

@diegosasw
Copy link

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
@diegosasw diegosasw changed the title [Feature] [Feature] Include a value for an int version useful for Android ApplicationVersion Jan 15, 2023
@asbjornu
Copy link
Member

Sure, we could expose something like that as a variable. Pull requests are welcome!

@HHobeck HHobeck added this to the 6.x milestone Apr 1, 2023
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. After 30 days from now, it will be closed if no further activity occurs.

@github-actions github-actions bot added the stale label Jun 30, 2023
@arturcic arturcic removed the stale label Jun 30, 2023
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. After 30 days from now, it will be closed if no further activity occurs.

@github-actions github-actions bot added the stale label Sep 29, 2023
@arturcic arturcic removed the stale label Sep 29, 2023
@arturcic arturcic added stale and removed stale labels Oct 30, 2023
@HHobeck HHobeck modified the milestones: 6.x, 7.x Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants