-
Notifications
You must be signed in to change notification settings - Fork 0
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
More control over Android version string formats #8
Comments
Hi Alexander I understand your needs. How do you calculate/generate the two digits? As written in another issue, we could provide external variables to deliver the code version as we do for providing the version to use for the replacements. By build number you mean build id? If so, I wouldn't recommend to do so. The version increments on a system wide level. If you move your project to another VSTS instance, you will have some problems since the id starts from new. Additionally, you do not have any locical sequence in your build definition since all builds share the incremented build id. Why not using the patch version as it is meant and use a provided algorithm for the code version? Best, |
Hi Marc, As described in #7, the problem likely derives from the fact that company-wide we're using a legacy version numbering system in which we version our App using major+minor+build+revision rather than SemVer. This is something I had not paid attention to when installing your task - and not something I was quite aware of before now either. In any case, our major version number derives from major overhauls in the way the App looks or feels, it's overall structure, and is therefore a rather arbitrary number. The minor version number is somewhat more structured and increases incrementally with each new release of the App - which should normally follow a monthly cycle. The build number used to indeed by the We then apply these numbers as follows:
As explained in #7, we've written our own scripts to apply a fixed offset to the Hence, we're a bit stuck, And though I've managed to create a feasible work-around to our issues with the All the best, |
Hi all,
Similar to my request in #6, I'd like to request more control over the version name and version code set in the Android-manifest. Our project uses a two-part version name consisting of a major+minor version for the version name, while reserving the build number for the version code. It would be great if this could be configured from within your task's configuration!
Looking forward to new releases with anticipation,
All the best,
Alexander.
The text was updated successfully, but these errors were encountered: