Skip to content

Commit 83a3212

Browse files
committed
Use github.ref_name when deploying snapshots
See gh-42808
1 parent 76cfc57 commit 83a3212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
artifact-properties: |
3131
/**/spring-boot-docs-*.zip::zip.type=docs,zip.deployed=false
32-
build-name: ${{ vars.COMMERCIAL && format('spring-boot-commercial-{0}', steps.build-and-publish.outputs.version) || format('spring-boot-{0}', steps.build-and-publish.outputs.version) }}
32+
build-name: ${{ vars.COMMERCIAL && format('spring-boot-commercial-{0}', github.ref_name) || format('spring-boot-{0}', github.ref_name) }}
3333
folder: 'deployment-repository'
3434
password: ${{ vars.COMMERCIAL && secrets.COMMERCIAL_ARTIFACTORY_PASSWORD || secrets.ARTIFACTORY_PASSWORD }}
3535
project: ${{ vars.COMMERCIAL && 'spring' }}

0 commit comments

Comments
 (0)