-
Notifications
You must be signed in to change notification settings - Fork 652
Support 'assembly-versioning-format' option as a part of '/overrideconfig' command line parameter #2485
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
Comments
Extending |
After checking the code, I see multiple problems related to full
I would suggest to start smaller: implement only a few properties that make sense to be used from command line and are usually not project specific. For example: |
Thanks for diving into it, @nenadvicentic. That sounds reasonable. Perhaps it makes sense to only allow simple typed properties that can be represented by strings on the command line? |
This comment has been minimized.
This comment has been minimized.
🎉 This issue has been resolved in version 5.6.9 🎉 Your GitReleaseManager bot 📦🚀 |
It would be very useful to support syntax overriding 'assembly-versioning-format' as a part of command-line arguments for
/overrideconfig
. At the moment of writing this, onlytag-prefix
option is supported.Reason for request:
Currently, only way to override 'assembly-versioning-format' option is via configuration files. For example
GitVersion.yml
file in the root of repository. This means that to use custom version format on the company level, one has to commit new file in each repository. It's not possible to control formatting this via CI build-configuration alone.Example syntax:
Or perhaps double-quotes would be more consistent for the value-part?
"{Major}.{Minor}.{Patch}.{env:CI_JOB_ID ?? 0}"
The text was updated successfully, but these errors were encountered: