Skip to content

Commit e7e1cff

Browse files
committed
Update VersionStartYear to 2022 in settings as other repository
1 parent af2f672 commit e7e1cff

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tools/WebStack.versions.settings.targets

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
</PropertyGroup>
2121

2222
<!--
23-
Revision number is a date code. Note that this only work for 6 years before the year part (year minus 2020)
23+
Revision number is a date code. Note that this only work for 6 years before the year part (year minus 2022)
2424
overflows the Int16. The system convert below will throw errors when this happens.
2525
-->
2626
<PropertyGroup>
27-
<VersionStartYear Condition="'$(VersionStartYear)' == ''">2020</VersionStartYear>
27+
<VersionStartYear Condition="'$(VersionStartYear)' == ''">2022</VersionStartYear>
2828
<VersionDateCode>$([System.Convert]::ToUInt16('$([MSBuild]::Add(1, $([MSBuild]::Subtract($([System.DateTime]::Now.Year), $(VersionStartYear)))))$([System.DateTime]::Now.ToString("MMdd"))'))</VersionDateCode>
2929
<VersionRevision Condition="'$(VersionRevision)' == '' OR '$(VersionRevision)' == '0'">$([System.Convert]::ToString($(VersionDateCode)))</VersionRevision>
3030
</PropertyGroup>
@@ -51,7 +51,7 @@
5151
</PropertyGroup>
5252

5353
<PropertyGroup>
54-
<VersionStartYear Condition="'$(VersionStartYear)' == ''">2020</VersionStartYear>
54+
<VersionStartYear Condition="'$(VersionStartYear)' == ''">2022</VersionStartYear>
5555
<VersionMajor Condition="'$(VersionMajor)' == '0'">INVALID_VersionMajor</VersionMajor>
5656
<VersionMajor Condition="'$(VersionMajor)' == ''">INVALID_VersionMajor</VersionMajor>
5757
<VersionMinor Condition="'$(VersionMinor)' == ''">INVALID_VersionMinor</VersionMinor>

0 commit comments

Comments
 (0)