-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: various release chart update fixes #579
base: release/2.7
Are you sure you want to change the base?
Conversation
tiagolobocastro
commented
Dec 6, 2024
Don't update the chart on a pre-release Set missing base branch for pull-request Add stricter release validation Add more tests Signed-off-by: Tiago Castro <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not very clear on what this PR does..
Don't update the chart on a pre-release
What is the context here?
die "Build not supported" | ||
fi | ||
if [ -n "$BRANCH" ]; then | ||
if ! [[ "$BRANCH" =~ ^release/[0-9]+.[0-9]+$ ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if ! [[ "$BRANCH" =~ ^release/[0-9]+.[0-9]+$ ]]; then | |
if ! [[ "$BRANCH" =~ ^(release/[0-9]+.[0-9]+)$ ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're not capturing groups here, so there's no need for that? Or is there another reason I'm unaware of?
A GitHub action bumps the release version on Chart.yaml on release but it's failing on pre-releases. |