Skip to content

Commit

Permalink
Skip npm get-version to unblock builds (dotnet#53032)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros authored Dec 29, 2023
1 parent 990e7a3 commit e6be3e9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions eng/Npm.Workspace.nodeproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
</Target>

<Target Name="_GetPackageVersionInfo" Returns="@(_NodePackageNameAndVersions)">
<!--
<Exec Command="npm run get-version" ConsoleToMsBuild="true">
<Output TaskParameter="ConsoleOutput" ItemName="_GetNpmVersionOutput" />
</Exec>
Expand All @@ -50,6 +51,12 @@
</ItemGroup>

<Message Text="Computed package version info: %(_NodePackageNameAndVersions.PackageName)=%(_NodePackageNameAndVersions.PackageVersion)" Importance="high" />
-->
<ItemGroup>
<_NodePackageNameAndVersions>
<PackageVersion>$(PackageVersion)</PackageVersion>
</_NodePackageNameAndVersions>
</ItemGroup>
</Target>

<!-- Import Directory.Build.targets -->
Expand Down

0 comments on commit e6be3e9

Please sign in to comment.