File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 167167 <Exec Command="npm run test" ContinueOnError="true" WorkingDirectory="$(MSBuildThisFileDirectory).." />
168168 </Target>
169169
170- <Target Name="Pack">
170+ <Target Name="Pack" DependsOnTargets="Build" >
171171 <PropertyGroup>
172172 <PackageVersion>$(VersionPrefix)</PackageVersion>
173173 <PackageVersion Condition="'$(VersionSuffix)' != ''">$(VersionPrefix)-$(VersionSuffix)</PackageVersion>
176176 <MakeDir Directories="$(PackageOutputPath)" Condition="!Exists('$(PackageOutputPath)')" />
177177 <MakeDir Directories="$(IntermediateOutputPath)" Condition="!Exists('$(IntermediateOutputPath)')" />
178178
179+ <Exec
180+ Command="node $(MSBuildThisFileDirectory)scripts/npm/pack-workspace.mjs --update-versions $(RepoRoot)package.json $(PackageVersion) $(PackageOutputPath) $(IntermediateOutputPath)"
181+ EnvironmentVariables="$(_NpmAdditionalEnvironmentVariables)" />
182+
179183 <Exec
180184 Command="node $(MSBuildThisFileDirectory)scripts/npm/pack-workspace.mjs --create-packages $(RepoRoot)package.json $(PackageVersion) $(PackageOutputPath) $(IntermediateOutputPath)"
181185 EnvironmentVariables="$(_NpmAdditionalEnvironmentVariables)" />
You can’t perform that action at this time.
0 commit comments