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

Option for ignoring build number #203

Open
buttim opened this issue Dec 3, 2024 · 3 comments
Open

Option for ignoring build number #203

buttim opened this issue Dec 3, 2024 · 3 comments

Comments

@buttim
Copy link

buttim commented Dec 3, 2024

I use a different scheme for numbering version. Mine is maj.min.detail.build. A bit excessive perhaps, I know. Bu the use of a build number as a third component in the version is quite common I think. So It would be nice to have an option to specify how many components to take into account when you decide a version has changed and to link to the change history.
Something like "take 2 components, ignore the rest" and version 1.1.2.394 is treated as 1.2

@hannesa2
Copy link
Collaborator

hannesa2 commented Dec 3, 2024

This time you can try what it is like to make a pull request

@hannesa2
Copy link
Collaborator

hannesa2 commented Dec 3, 2024

Btw, the most common way is to use versionCode, I would recommend to change your app for right numbering.
versionName is just cosmetic

@buttim
Copy link
Author

buttim commented Dec 3, 2024

My versionCode is as describes, not just versionName. I will try to implement it and let you know though a PR. Thanks

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

No branches or pull requests

2 participants