Repository navigation
Pass skip_gh_release to the chart releaser - #53
Merged
Merged
Conversation
helm-oci-charts-releaser v0.1.5 runs cr.sh under set -o nounset and only sets skip_gh_release when the input is given. Unset, the check fails inside an if, so the release step skips the GitHub release and tag without failing the job: 1.1.0 was pushed to GHCR with no s3proxy-1.1.0 release.
📊 Helm Render Diff SummaryChart
🎉 No changes detected in any of the tested configurations! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 1.1.0 release (run 47148919045) pushed
ghcr.io/comet-ml/s3proxy:1.1.0but created nos3proxy-1.1.0tag or GitHub release, and the job still reported success. The log shows:bitdeps/helm-oci-charts-releaserv0.1.5 (bumped in #46) runscr.shunderset -o nounset, declareslocal skip_gh_releasewith no value, and sets it only when theskip_gh_releaseinput is passed. Unset,if (! $releaseExists && ! $skip_gh_release)errors inside the subshell, the condition is false, and bothgh release createandgh release uploadare skipped without failing the step.Changes
release.yaml: passskip_gh_release: falseto the releaser.Testing
cr.shandaction.ymlat v0.1.5: a non-empty input adds--skip-gh-release false, which sets the variable..github/, so it triggers no release; the next chart change will exercise it.s3proxy-1.1.0release was created by hand to match 1.0.0: tag ond217ca7(the commit the release job checked out), the GHCR1.1.0package as the asset, marked latest.