Skip to content

Commit

Permalink
Remove defunct parameter and use common template to create tags and g…
Browse files Browse the repository at this point in the history
…it release (#1630)

* Remove defunct parameter and use common template to create tags and git release

* update template version to test release
  • Loading branch information
JimSuplizio authored Jul 9, 2024
1 parent 90988b5 commit db1dbdb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 8 additions & 10 deletions eng/pipelines/templates/stages/archetype-android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,14 @@ stages:
deploy:
steps:
- checkout: self
- checkout: azure-sdk-build-tools
path: azure-sdk-build-tools
- pwsh: |
$(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)
displayName: 'Verify Package Tags and Create Git Releases'
timeoutInMinutes: 5
workingDirectory: $(Pipeline.Workspace)
env:
GH_TOKEN: $(azuresdk-github-pat)
- download: current
displayName: 'Download Artifact: ${{parameters.ArtifactName}}-signed'
artifact: ${{parameters.ArtifactName}}-signed
- template: /eng/common/pipelines/templates/steps/create-tags-and-git-release.yml
parameters:
ArtifactLocation: $(Pipeline.Workspace)/${{parameters.ArtifactName}}-signed/${{artifact.safeName}}
PackageRepository: Maven
ReleaseSha: $(Build.SourceVersion)

- ${{if ne(artifact.options.skipPublishPackage, 'true')}}:
- deployment: PublishPackage
Expand Down Expand Up @@ -126,7 +125,6 @@ stages:
ArtifactDirectory: $(Pipeline.Workspace)/${{parameters.ArtifactName}}-signed
OutputDirectory: $(Pipeline.Workspace)/EsrpPackages
Target: EsrpRelease
BuildToolsPath: $(Pipeline.Workspace)/azure-sdk-build-tools
# Note: In spite of the fact that the variable is named JavaRepoRoot, the
# root needs to be the root of the android repository
JavaRepoRoot: $(Pipeline.Workspace)/azure-sdk-for-android
Expand Down
2 changes: 1 addition & 1 deletion sdk/template/azure-sdk-template/gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=1.0.0-beta.19
version=1.0.0-beta.20

0 comments on commit db1dbdb

Please sign in to comment.