Merged
Conversation
Member
Author
6903606 to
d86a383
Compare
Member
Author
|
Tested on dotnet/format global tool: dotnet/format#118 |
Member
Author
|
Ping |
DoCode
reviewed
Apr 30, 2019
|
looks good on my part |
Member
|
Somehow this is breaking dotnet/runtime builds now. |
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2234.
Allow projects to opt-in to release only package versioning by setting property
PreReleaseVersionLabelto empty string and to automatically generating assembly and file versions by setting propertyAutoGenerateAssemblyVersiontotrue.AssemblyVersion:=MAJOR.MINOR.PATCH_NUMBER_HI.PATCH_NUMBER_LOWFileVersion:=AssemblyVersionPackageVersion:=MAJOR.MINOR.PATCH_NUMBERwhere
Ris the number of builds the build definition started on dayYY/MM/DDSHORT_DATE:=YY* 1000 +MM* 50 +DDPATCH_NUMBER:= (SHORT_DATE-VersionBaseShortDate) * 100 +RPATCH_NUMBER_HI:=PATCH_NUMBER/ 50000PATCH_NUMBER_LOW:=PATCH_NUMBER% 50000BASE_DATE:= 19000Note:
SHORT_DATEis a concept used by the versioning scheme we already use.Example for 5th build today (2019/3/14):
AssemblyVersion=FileVersion=3.0.0.16405PackageVersion=3.0.16405Example for 1st build on (2025/12/29):
AssemblyVersion=FileVersion=8.0.13.12901PackageVersion=8.0.662901