Skip to content

Commit 0304369

Browse files
committed
Restore previous build-name config for snapshots and releases
1 parent 156cf11 commit 0304369

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-and-deploy-snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
artifact-properties: |
2727
/**/spring-restdocs-*.zip::zip.type=docs,zip.deployed=false
28-
build-name: ${{ format('spring-restdocs-{0}', github.ref_name) }}
28+
build-name: 'spring-restdocs-3.0.x'
2929
folder: 'deployment-repository'
3030
password: ${{ secrets.ARTIFACTORY_PASSWORD }}
3131
repository: ${{ 'libs-snapshot-local' }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Stage Release
2424
uses: spring-io/artifactory-deploy-action@26bbe925a75f4f863e1e529e85be2d0093cac116 # v0.0.1
2525
with:
26-
build-name: ${{ format('spring-restdocs-{0}', github.ref_name) }}
26+
build-name: ${{ format('spring-restdocs-{0}', steps.build-and-publish.outputs.version) }}
2727
folder: 'deployment-repository'
2828
password: ${{ secrets.ARTIFACTORY_PASSWORD }}
2929
repository: 'libs-staging-local'

0 commit comments

Comments
 (0)