Skip to content

ci: restore .releaserc.json (unblocks main's CI/CD release)#128

Merged
jacaudi merged 1 commit into
mainfrom
fix/restore-releaserc
May 22, 2026
Merged

ci: restore .releaserc.json (unblocks main's CI/CD release)#128
jacaudi merged 1 commit into
mainfrom
fix/restore-releaserc

Conversation

@jacaudi
Copy link
Copy Markdown
Owner

@jacaudi jacaudi commented May 22, 2026

Summary

  • Restores .releaserc.json to its pre-refactor content. The refactor's clean-slate sweep (bf522b4) deleted it; without it, semantic-release defaults to a plugin set that includes @semantic-release/npm, which aborts on the missing package.json. The reusable release workflow's own docstring requires this config.
  • File restored verbatim from 372dcf3:.releaserc.json (the last working main tip). Plugin list explicitly excludes npm; preserves the project's release-rule policy (breaking→minor, refactor→patch, chore→false) and the chart-version bump via @semantic-release/exec.

Why the release failed on main

The post-9c705de CI/CD run (26269647417) showed:

release / Semantic Release: Failed step "verifyConditions" of plugin "@semantic-release/npm"
SemanticReleaseError: Missing \`package.json\` file.

All other jobs (test, envtest, lint, build metadata) were green; container and helm were skipped because they needs: [release]. Once this file is restored, the next push to main (the merge of this PR itself) re-runs the release pipeline, which should publish v0.19.0 (driven by the refactor's feat!: / refactor: commits since v0.18.3).

Heads-up — separate decision

The restored breaking → minor rule is unusual; the standard convention is breaking → major. Given v2alpha1 is a full API break, v1.0.0 would be the more honest version. If you want that instead of v0.19.0, this PR also needs breaking: true"major" AND the 9c705de merge commit body would need a BREAKING CHANGE: footer (or a follow-up commit with one) so semantic-release picks it up. Not changed here — flagging only.

Test plan

  • Merge this PR
  • Watch the resulting CI/CD run on mainrelease / Semantic Release should now succeed
  • Confirm v0.19.0 tag + GitHub Release are published
  • Confirm container + helm jobs run and publish to GHCR

🤖 Generated with Claude Code

bf522b4 ("chore: clean slate for total refactor") removed the project-
local semantic-release config. The reusable release workflow at
jacaudi/github-actions/.github/workflows/component-semantic-release.yml
explicitly requires .releaserc.json in the repo root; without it,
semantic-release falls back to defaults that include @semantic-release/npm,
whose verifyConditions step aborts on the missing package.json (this is
a Go project, no npm). That's why the post-merge release on main failed.

Restores the file verbatim from 372dcf3 (the pre-refactor main tip):
explicit plugin list (no npm), breaking->minor / refactor->patch /
chore->false release rules, chart Chart.yaml version+appVersion bump
via @semantic-release/exec, CHANGELOG.md + chart/Chart.yaml committed
back via @semantic-release/git.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@jacaudi jacaudi merged commit 9e8d8fe into main May 22, 2026
6 checks passed
@jacaudi jacaudi deleted the fix/restore-releaserc branch May 22, 2026 05:25
@wall-e-one
Copy link
Copy Markdown
Contributor

wall-e-one Bot commented May 22, 2026

🎉 This PR is included in version 0.19.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@wall-e-one wall-e-one Bot added the released label May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant