File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 37
37
<ExperimentalPackageVersion Condition =" '$(IncludePreReleaseLabelInPackageVersion)' == 'true' " >$(ExperimentalVersionPrefix)-$(VersionSuffix)</ExperimentalPackageVersion >
38
38
39
39
<VersionMetadata Condition =" '$(DotNetProductBuildId)' != '' " >pb-$(DotNetProductBuildId)</VersionMetadata >
40
- <VersionSuffix Condition =" '$(VersionMetadata)' != '' " >$(VersionSuffix)+$(VersionMetadata)</VersionSuffix >
40
+
41
+ <!-- `npm` will truncate the '+' and everything after when updating project.json. Condition avoids _Pack failures. -->
42
+ <VersionSuffix Condition =" '$(VersionMetadata)' != '' AND '$(MSBuildProjectExtension)' != '.npmproj' " >$(VersionSuffix)+$(VersionMetadata)</VersionSuffix >
41
43
42
44
<SharedFxCliBlobChannel >release/$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion)</SharedFxCliBlobChannel >
43
45
You can’t perform that action at this time.
0 commit comments