From 91db096b0928c31169e5cf49bcba671d51781cc6 Mon Sep 17 00:00:00 2001 From: Alan Ren Date: Tue, 17 May 2022 11:30:55 -0700 Subject: [PATCH] fix the issue that is blocking us from creating releases using any branch (#1496) * test release * branch name * revert branch name * remove space --- azure-pipelines/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines/release.yml b/azure-pipelines/release.yml index 71617d4f..ff9add9c 100644 --- a/azure-pipelines/release.yml +++ b/azure-pipelines/release.yml @@ -25,7 +25,7 @@ steps: displayName: 'Run Automated Release Script' inputs: filePath: '$(System.DefaultWorkingDirectory)/CrossPlatBuildScripts/AutomatedReleases/sqltoolsserviceRelease.ps1' - arguments: '-workspace $(Build.SourcesDirectory) -minTag v3.0.0.0 -target main -tagFormat release -isPrerelease $false -artifactsBuildId $(Build.BuildId)' + arguments: '-workspace $(Build.SourcesDirectory) -minTag v3.0.0.0 -target $(Build.SourceBranch) -tagFormat release -isPrerelease $false -artifactsBuildId $(Build.BuildId)' workingDirectory: '$(Build.SourcesDirectory)' env: GITHUB_DISTRO_MIXIN_PASSWORD: $(github-distro-mixin-password)