Skip to content

Commit

Permalink
Move UnixPortSupplierInterop NuGet Sign (#1468)
Browse files Browse the repository at this point in the history
* Move UnixPortSupplierInterop NuGet Sign

* Remove UnixPortSupplier NuGet from SSHDebugPS

* Also need version file for insertion
  • Loading branch information
WardenGnaw authored Sep 6, 2024
1 parent 61b1593 commit 1c0b682
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
4 changes: 2 additions & 2 deletions MIEngine.UnixPortSupplier.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<tags></tags>
</metadata>
<files>
<file src="ReferenceAssemblies\Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier.DesignTime.xml" target="ref\dotnet" />
<file src="ReferenceAssemblies\Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier.DesignTime.dll" target="ref\dotnet" />
<file src="Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier.DesignTime.xml" target="ref\dotnet" />
<file src="Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier.DesignTime.dll" target="ref\dotnet" />
</files>
</package>
12 changes: 12 additions & 0 deletions eng/pipelines/steps/PublishVSPackages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ parameters:
BasePath: $(Build.StagingDirectory)

steps:
- script: |
for /f "delims=" %%f in ($(Build.SourcesDirectory)\obj\Lab.Release\NugetPackageVersion.txt) do set NugetPackageVersion=%%f
echo ##vso[task.setvariable variable=NugetPackageVersion;]%NugetPackageVersion%
displayName: 'Get NuGet Version'

- template: ../tasks/1ES/PublishPipelineArtifact.yml
parameters:
displayName: 'Publish File Version'
targetPath: '$(Build.SourcesDirectory)\obj\Lab.Release\NugetPackageVersion.txt'
artifactName: 'PackageVersion'
OneESPT: true

- task: 1ES.PublishNuget@1
displayName: Publish Nuget package
condition: and(succeeded(), eq(variables['SignType'], 'real'))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@
<ItemGroup>
<DropSignedFile Include="$(OutDir)\$(AssemblyName).dll" />
</ItemGroup>

<ItemGroup>
<PackageNuspec Include="$(MIEngineRoot)\MIEngine.UnixPortSupplier.nuspec" />
<NugetPackages Include="VS.Redist.Debugger.MDD.UnixPortSupplier" />
</ItemGroup>

<Import Project="..\..\build\miengine.targets" />
<Import Project="..\..\build\DropFiles.targets" />
Expand Down
5 changes: 0 additions & 5 deletions src/SSHDebugPS/SSHDebugPS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,6 @@
</ProjectReference>
</ItemGroup>

<ItemGroup>
<PackageNuspec Include="$(MIEngineRoot)\MIEngine.UnixPortSupplier.nuspec" />
<NugetPackages Include="VS.Redist.Debugger.MDD.UnixPortSupplier" />
</ItemGroup>

<ItemGroup>
<Compile Update="StringResources.Designer.cs">
<DesignTime>True</DesignTime>
Expand Down

0 comments on commit 1c0b682

Please sign in to comment.