File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 3535 <VersionPrefix Condition =" '$(UseFSharpPackageVersion)' == 'true'" >$(FSCorePackageVersion)</VersionPrefix >
3636 <VersionPrefix Condition =" '$(UseFSharpProductVersion)' == 'true'" >$(FSProductVersion)</VersionPrefix >
3737 <VersionPrefix Condition =" '$(UseVsMicroBuildAssemblyVersion)' == 'true'" >$(VSAssemblyVersion)</VersionPrefix >
38- <VsixVersionPrefix >$(VSMajorVersion).$(VSMinorVersion).0</VsixVersionPrefix >
38+ <!--
39+ Previous nightly versions were of the form 15.9.20190322.1, but after the arcade sdk integration, that form
40+ changed to 15.9.0.1917201 which breaks the nightly upgrade. To enable this to work for 15.9 builds we re-insert
41+ the build number (date) so that it's always increasing.
42+
43+ THIS CHANGE SHOULD NOT FLOW INTO ANY DEV16 BRANCHES.
44+ -->
45+ <_BuildNumber >$(OfficialBuildId)</_BuildNumber >
46+ <_BuildNumber Condition =" '$(OfficialBuildId)' == ''" >$([System.DateTime]::Now.ToString(yyyyMMdd)).0</_BuildNumber >
47+ <VsixVersionDateStampFix >$(_BuildNumber.Split('.')[0])</VsixVersionDateStampFix >
48+ <VsixVersionPrefix >$(VSMajorVersion).$(VSMinorVersion).$(VsixVersionDateStampFix)</VsixVersionPrefix >
3949 <AssemblyVersion Condition =" '$(OfficialBuildId)' == ''" >$(VersionPrefix)</AssemblyVersion >
4050 <!-- PR builds should explicitly specify a version number -->
4151 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments