From 8a22108c625db3d61a2f847e673d64d5ee525d3a Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 18 Apr 2024 14:33:58 +0100 Subject: [PATCH] Use the version not the tag when creating the build name --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bc93a7e6537a..c5cb63499ae2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: - name: Stage Release uses: spring-io/artifactory-deploy-action@26bbe925a75f4f863e1e529e85be2d0093cac116 # v0.0.1 with: - build-name: ${{ format('spring-boot-{0}', github.ref_name)}} + build-name: ${{ format('spring-boot-{0}', steps.build-and-publish.outputs.version)}} folder: 'deployment-repository' password: ${{ secrets.ARTIFACTORY_PASSWORD }} repository: 'libs-staging-local'