@@ -81,15 +81,14 @@ stages:
8181 deploy :
8282 steps :
8383 - checkout : self
84- - checkout : azure-sdk-build-tools
85- path : azure-sdk-build-tools
86- - pwsh : |
87- $(Pipeline.Workspace)/azure-sdk-build-tools/scripts/create-tags-and-git-release.ps1 -artifactLocation $(Pipeline.Workspace)/${{parameters.ArtifactName}}-signed/${{artifact.safeName}} -packageRepository Maven -releaseSha $(Build.SourceVersion) -repoId $(Build.Repository.Name)
88- displayName: 'Verify Package Tags and Create Git Releases'
89- timeoutInMinutes: 5
90- workingDirectory: $(Pipeline.Workspace)
91- env:
92- GH_TOKEN: $(azuresdk-github-pat)
84+ - download : current
85+ displayName : ' Download Artifact: ${{parameters.ArtifactName}}-signed'
86+ artifact : ${{parameters.ArtifactName}}-signed
87+ - template : /eng/common/pipelines/templates/steps/create-tags-and-git-release.yml
88+ parameters :
89+ ArtifactLocation : $(Pipeline.Workspace)/${{parameters.ArtifactName}}-signed/${{artifact.safeName}}
90+ PackageRepository : Maven
91+ ReleaseSha : $(Build.SourceVersion)
9392
9493 - ${{if ne(artifact.options.skipPublishPackage, 'true')}} :
9594 - deployment : PublishPackage
@@ -126,7 +125,6 @@ stages:
126125 ArtifactDirectory : $(Pipeline.Workspace)/${{parameters.ArtifactName}}-signed
127126 OutputDirectory : $(Pipeline.Workspace)/EsrpPackages
128127 Target : EsrpRelease
129- BuildToolsPath : $(Pipeline.Workspace)/azure-sdk-build-tools
130128 # Note: In spite of the fact that the variable is named JavaRepoRoot, the
131129 # root needs to be the root of the android repository
132130 JavaRepoRoot : $(Pipeline.Workspace)/azure-sdk-for-android
0 commit comments