Skip to content

Commit b1c1b94

Browse files
authored
make sure the revision is not too large
1 parent 5d75aea commit b1c1b94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PowerShell.Common.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<!-- Create the internal version -->
5454
<PSCoreBuildVersion>$(ReleaseTag)</PSCoreBuildVersion>
5555
<!-- Create the version if we have a pre-release -->
56-
<PSCoreFileVersion Condition = "'$(ReleaseTagSemVersionPart)' != ''">$(ReleaseTagVersionPart).$(ReleaseTagSemVersionPart)</PSCoreFileVersion>
56+
<PSCoreFileVersion Condition = "'$(ReleaseTagSemVersionPart)' != ''">$(ReleaseTagVersionPart).$(ReleaseTagSemVersionPart.Substring(3))</PSCoreFileVersion>
5757
<!-- Create the version if we have a release build -->
5858
<PSCoreFileVersion Condition = "'$(PSCoreFileVersion)' == ''">$(ReleaseTagVersionPart)</PSCoreFileVersion>
5959
</PropertyGroup>

0 commit comments

Comments
 (0)