Skip to content

feat(ci): automated release with semantic-release and OIDC publishing#2

Merged
char0n merged 1 commit into
mainfrom
feat/semantic-release
Apr 14, 2026
Merged

feat(ci): automated release with semantic-release and OIDC publishing#2
char0n merged 1 commit into
mainfrom
feat/semantic-release

Conversation

@char0n
Copy link
Copy Markdown
Member

@char0n char0n commented Apr 14, 2026

Summary

  • Replace manual workflow_dispatch with version input with semantic-release
  • semantic-release analyzes conventional commits to determine version bumps, creates git tags and GitHub Releases with auto-generated release notes
  • Run full test suite (Python 3.11/3.12/3.13 + TypeScript) before releasing
  • Publish npm with OIDC provenance attestation (no NPM_TOKEN secret needed)
  • Publish Python with PyPI trusted publishing (OIDC, no API token needed)
  • Include LICENSE and NOTICE in both package distributions
  • Exclude tests from Python sdist

Test plan

  • Review .releaserc.json plugin chain
  • Review release.yaml workflow structure
  • Verify pyproject.toml build config excludes tests
  • Verify package.json includes LICENSE/NOTICE in files
  • After merge, trigger workflow_dispatch and verify v1.0.0 release is created

- Use semantic-release for automated versioning, tagging, and GitHub
  Release creation based on conventional commits
- Run full test suite (Python + TypeScript) before releasing
- Publish npm package with OIDC provenance (no NPM_TOKEN needed)
- Publish Python package with PyPI trusted publishing (OIDC)
- Include LICENSE and NOTICE in both package distributions
- Exclude tests from Python sdist
@char0n char0n merged commit 36c5495 into main Apr 14, 2026
4 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@char0n char0n deleted the feat/semantic-release branch April 14, 2026 08:54
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