<#6489 Fix release script for beta versions> Pull ...
# flyte-github
c
#6489 Fix release script for beta versions Pull request opened by pmahindrakar-oss ## Why are the changes needed? Releasing beta release charts fail https://github.com/flyteorg/flyte/actions/runs/15454959519/job/43505569848 ## What changes were proposed in this pull request? When the released version is beta then format the semver for release to be compatible with helm ## How was this patch tested? Independently tested the changed portion
Copy code
cat a.sh                                                                                                 .venv-new-2
# Normalize VERSION if it's a beta (e.g., v1.16.0b0 → v1.16.0-beta.0)
if [[ "$VERSION" =~ b[0-9]+ ]]; then
  VERSION=$(echo "${VERSION}" | sed -E 's/b([0-9]+)/-beta.\1/')
fi
echo $VERSION
Copy code
VERSION=v1.15.3 sh a.sh                                                                               
v1.15.3
Copy code
VERSION=v1.16.0b0 sh a.sh                                                                                .venv-new-2
v1.16.0-beta.0
### Labels • fixed: For any bug fixed. ### Setup process ### Screenshots ## Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. ## Related PRs ## Docs link https://bito.ai#summarystart| ### Summary by Bito This pull request fixes an issue with the release script that caused failures for beta version releases. It implements new logic for formatting beta versions to ensure compatibility with Helm, and the changes have been independently tested for effectiveness. flyteorg/flyte