You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we release, needs.build-and-stage-release.outputs.version will be something like 3.2.11.
This mismatch means that both the artifact download and the build promotion will use the wrong build name and won't find anything to download/promote.
Instead of github.ref_name, we used to use steps.build-and-publish.outputs.version. We should probably go back to that unless there's good reason to use the ref_name instead.
The text was updated successfully, but these errors were encountered:
wilkinsona
changed the title
Build numbers don't match in release workflow
Build names don't match in release workflow
Oct 21, 2024
spring-boot/.github/workflows/release.yml
Line 30 in a3c34b4
When the release,
github.ref_name
will be something likev3.2.11
.spring-boot/.github/workflows/release.yml
Line 72 in a3c34b4
spring-boot/.github/actions/sync-to-maven-central/action.yml
Line 28 in a3c34b4
spring-boot/.github/workflows/release.yml
Line 86 in a3c34b4
When we release,
needs.build-and-stage-release.outputs.version
will be something like3.2.11
.This mismatch means that both the artifact download and the build promotion will use the wrong build name and won't find anything to download/promote.
Instead of
github.ref_name
, we used to usesteps.build-and-publish.outputs.version
. We should probably go back to that unless there's good reason to use theref_name
instead.The text was updated successfully, but these errors were encountered: