Skip to content

Fix version_bumper.yaml not checking for empty appVersion - #129

Open
briiians wants to merge 2 commits into
varnish:mainfrom
briiians:fix-version-bumper-empty-check
Open

Fix version_bumper.yaml not checking for empty appVersion#129
briiians wants to merge 2 commits into
varnish:mainfrom
briiians:fix-version-bumper-empty-check

Conversation

@briiians

Copy link
Copy Markdown
Collaborator

This came up in #122, where the chart version got bumped but appVersion ended up as an empty string.

The version_bumper workflow never checked whether LATEST_APP_VERSION actually came back non-empty from the docker run step. If that step fails for any reason, the empty string still gets treated as a "new" version since it doesn't match the current one, and a PR goes out with a blank appVersion.

This adds a check that skips the run instead of opening a bad PR when the version can't be determined.

@gquintard

Copy link
Copy Markdown
Collaborator

Shouldn't LATEST_APP_VERSION being empty be a hard fail? Something definitely went wrong upstream and we shouldn't not continue in that case?

@audunmg

audunmg commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

I agree with @gquintard on this, hard fails are better than silently skipping.

If it can't figure out the version, something is wrong in the script and should be fixed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@briiians

Copy link
Copy Markdown
Collaborator Author

Okay it hard fails now, let me know if you would prefer something else

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants