Restore previous build-name config for snapshots and releases

This commit is contained in:
Andy Wilkinson
2024-10-21 13:15:39 +01:00
parent 156cf11e35
commit 03043693ce
2 changed files with 2 additions and 2 deletions

View File

@@ -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' }}

View File

@@ -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'