Skip to content

Pass skip_gh_release to the chart releaser - #53

Merged
CRThaze merged 1 commit into
mainfrom
CRThaze/fix-release-skip-gh-release
Dec 3, 2026
Merged

CRThaze merged 1 commit into
mainfrom
CRThaze/fix-release-skip-gh-release

Conversation

@CRThaze

@CRThaze CRThaze commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

The 1.1.0 release (run 47148919045) pushed ghcr.io/comet-ml/s3proxy:1.1.0 but created no s3proxy-1.1.0 tag or GitHub release, and the job still reported success. The log shows:

cr.sh: line 375: skip_gh_release: unbound variable
cr.sh: line 382: skip_gh_release: unbound variable

bitdeps/helm-oci-charts-releaser v0.1.5 (bumped in #46) runs cr.sh under set -o nounset, declares local skip_gh_release with no value, and sets it only when the skip_gh_release input is passed. Unset, if (! $releaseExists && ! $skip_gh_release) errors inside the subshell, the condition is false, and both gh release create and gh release upload are skipped without failing the step.

Changes

  • release.yaml: pass skip_gh_release: false to the releaser.

Testing

  • Read cr.sh and action.yml at v0.1.5: a non-empty input adds --skip-gh-release false, which sets the variable.
  • This PR touches only .github/, so it triggers no release; the next chart change will exercise it.
  • The missing s3proxy-1.1.0 release was created by hand to match 1.0.0: tag on d217ca7 (the commit the release job checked out), the GHCR 1.1.0 package as the asset, marked latest.

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.
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

📊 Helm Render Diff Summary

Chart charts/s3proxy rendered with Kubernetes 1.29.0. Informational only — this check never fails the PR.

Values File Chart Path Changes Status
test-values/auth-existing-secret.yaml charts/s3proxy - ✅ No Changes
test-values/autoscaling.yaml charts/s3proxy - ✅ No Changes
test-values/azureblob-existing-secret.yaml charts/s3proxy - ✅ No Changes
test-values/azureblob-managed-identity.yaml charts/s3proxy - ✅ No Changes
test-values/azureblob.yaml charts/s3proxy - ✅ No Changes
test-values/filesystem.yaml charts/s3proxy - ✅ No Changes
test-values/gcs.yaml charts/s3proxy - ✅ No Changes
test-values/ingress.yaml charts/s3proxy - ✅ No Changes
test-values/multi-backend.yaml charts/s3proxy - ✅ No Changes
test-values/openstack-swift.yaml charts/s3proxy - ✅ No Changes
test-values/s3.yaml charts/s3proxy - ✅ No Changes
test-values/tls-existing-secret.yaml charts/s3proxy - ✅ No Changes
test-values/tls.yaml charts/s3proxy - ✅ No Changes
test-values/transient.yaml charts/s3proxy - ✅ No Changes

🎉 No changes detected in any of the tested configurations!

@CRThaze
CRThaze merged commit 2d582cd into main Dec 3, 2026
16 checks passed
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.

1 participant