From fbcbb6d7dcf026da72f2c00919b1a16d8fb6adc0 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Thu, 22 Feb 2024 15:51:22 -0800 Subject: [PATCH 1/2] Fix output artifact in new release pipeline --- azure-pipelines.release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/azure-pipelines.release.yml b/azure-pipelines.release.yml index c85bfe45d225f..8ea8df2ec7eb1 100644 --- a/azure-pipelines.release.yml +++ b/azure-pipelines.release.yml @@ -57,8 +57,8 @@ extends: Contents: 'typescript-*.tgz' TargetFolder: '$(Build.ArtifactStagingDirectory)' - - task: PublishPipelineArtifact@0 - displayName: 'Publish Pipeline Artifact' - inputs: - artifactName: tgz - targetPath: '$(Build.ArtifactStagingDirectory)' + templateContext: + outputs: + - output: pipelineArtifact + path: '$(Build.ArtifactStagingDirectory)' + artifact: tgz From d669a1fa2fc8bd4632b4b997d5e7caed3fe44c4c Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Thu, 22 Feb 2024 15:58:17 -0800 Subject: [PATCH 2/2] Of course, it's the other one --- azure-pipelines.release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.release.yml b/azure-pipelines.release.yml index 8ea8df2ec7eb1..e1e6a5918cc00 100644 --- a/azure-pipelines.release.yml +++ b/azure-pipelines.release.yml @@ -60,5 +60,5 @@ extends: templateContext: outputs: - output: pipelineArtifact - path: '$(Build.ArtifactStagingDirectory)' - artifact: tgz + targetPath: '$(Build.ArtifactStagingDirectory)' + artifactName: tgz