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 39
39
<ExperimentalPackageVersion Condition =" '$(IncludePreReleaseLabelInPackageVersion)' == 'true' " >$(ExperimentalVersionPrefix)-$(VersionSuffix)</ExperimentalPackageVersion >
40
40
41
41
<VersionMetadata Condition =" '$(DotNetProductBuildId)' != '' " >pb-$(DotNetProductBuildId)</VersionMetadata >
42
- <VersionSuffix Condition =" '$(VersionMetadata)' != '' " >$(VersionSuffix)+$(VersionMetadata)</VersionSuffix >
42
+
43
+ <!-- `npm` will truncate the '+' and everything after when updating project.json. Condition avoids _Pack failures. -->
44
+ <VersionSuffix Condition =" '$(VersionMetadata)' != '' AND '$(MSBuildProjectExtension)' != '.npmproj' " >$(VersionSuffix)+$(VersionMetadata)</VersionSuffix >
43
45
44
46
<SharedFxCliBlobChannel >release/$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion)</SharedFxCliBlobChannel >
45
47
You can’t perform that action at this time.
0 commit comments