Skip to content

Commit

Permalink
Restore previous build-name config for snapshots and releases
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed Oct 21, 2024
1 parent 156cf11 commit 0304369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
artifact-properties: |
/**/spring-restdocs-*.zip::zip.type=docs,zip.deployed=false
build-name: ${{ format('spring-restdocs-{0}', github.ref_name) }}
build-name: 'spring-restdocs-3.0.x'
folder: 'deployment-repository'
password: ${{ secrets.ARTIFACTORY_PASSWORD }}
repository: ${{ 'libs-snapshot-local' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Stage Release
uses: spring-io/artifactory-deploy-action@26bbe925a75f4f863e1e529e85be2d0093cac116 # v0.0.1
with:
build-name: ${{ format('spring-restdocs-{0}', github.ref_name) }}
build-name: ${{ format('spring-restdocs-{0}', steps.build-and-publish.outputs.version) }}
folder: 'deployment-repository'
password: ${{ secrets.ARTIFACTORY_PASSWORD }}
repository: 'libs-staging-local'
Expand Down

0 comments on commit 0304369

Please sign in to comment.