From b76067081f8b4077ad7e9dcf3588669ccd89e52f Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Fri, 6 Sep 2024 11:40:29 -0700 Subject: [PATCH 1/3] Move UnixPortSupplierInterop NuGet Sign --- MIEngine.UnixPortSupplier.nuspec | 4 ++-- ...tudio.Debugger.Interop.UnixPortSupplier.DesignTime.csproj | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/MIEngine.UnixPortSupplier.nuspec b/MIEngine.UnixPortSupplier.nuspec index be725dfcd..3610c6d97 100644 --- a/MIEngine.UnixPortSupplier.nuspec +++ b/MIEngine.UnixPortSupplier.nuspec @@ -12,7 +12,7 @@ - - + + diff --git a/src/Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier/Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier.DesignTime.csproj b/src/Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier/Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier.DesignTime.csproj index 120f75c33..c781de505 100644 --- a/src/Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier/Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier.DesignTime.csproj +++ b/src/Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier/Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier.DesignTime.csproj @@ -35,6 +35,11 @@ + + + + + From e152c7c765b436dbab9034331096765095464f3f Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Fri, 6 Sep 2024 13:05:53 -0700 Subject: [PATCH 2/3] Remove UnixPortSupplier NuGet from SSHDebugPS --- src/SSHDebugPS/SSHDebugPS.csproj | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/SSHDebugPS/SSHDebugPS.csproj b/src/SSHDebugPS/SSHDebugPS.csproj index df00c43df..3851f8955 100644 --- a/src/SSHDebugPS/SSHDebugPS.csproj +++ b/src/SSHDebugPS/SSHDebugPS.csproj @@ -90,11 +90,6 @@ - - - - - True From effc7adc676faead2939a54b4a65a731019e87db Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Fri, 6 Sep 2024 13:15:54 -0700 Subject: [PATCH 3/3] Also need version file for insertion --- eng/pipelines/steps/PublishVSPackages.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/eng/pipelines/steps/PublishVSPackages.yml b/eng/pipelines/steps/PublishVSPackages.yml index 33ec76358..6c6c33ec6 100644 --- a/eng/pipelines/steps/PublishVSPackages.yml +++ b/eng/pipelines/steps/PublishVSPackages.yml @@ -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'))