cluster-api-provider-aws icon indicating copy to clipboard operation
cluster-api-provider-aws copied to clipboard

Release branch calculation does not support prereleases

Open nrb opened this issue 1 year ago • 2 comments
trafficstars

/kind bug /kind cleanup

The commit that introduced gorelease building includes the following line for setting the RELEASE_BRANCH variable:

echo "RELEASE_BRANCH=release-$(echo ${GITHUB_REF_NAME} | grep -Eo '[0-9]\.[0-9]+')" >> $GITHUB_ENV

This works for new minor and patch releases, but for prerelease versions, the value should be set to main.

nrb avatar Apr 12 '24 16:04 nrb

/triage accepted

nrb avatar Apr 12 '24 16:04 nrb

/area release

nrb avatar Apr 23 '24 15:04 nrb