Skip to content

Conversation

@elijahr
Copy link

@elijahr elijahr commented Dec 3, 2025

Fixes #48

This replaces the manual PR/merge/tag workflow with fully automated releases:

  • Daily check for new LLVM versions
  • Manual trigger with optional version input
  • Automatic PyPI publishing via OIDC trusted publishing
  • Automatic GitHub Release creation with link to LLVM release notes
  • Uses uv for fast, reliable builds

Additional improvements:

  • Add Documentation section to README with official libclang docs links
  • Add requires-python >= 3.9 and Python version classifiers
  • Fix typo: [dependecy-groups] -> [dependency-groups]
  • Fix missing newline at end of pyproject.toml

Setup Required

This workflow requires PyPI OIDC trusted publishing to be configured:

  1. Create a 'pypi' environment in GitHub repository settings
  2. Configure the trusted publisher on PyPI: https://docs.pypi.org/trusted-publishers/

Removes:

  • release.yml (replaced by publish.yml)
  • llvm-update-autocheck.yml (merged into publish.yml)

Fixes trolldbois#48

Replaces the manual PR/merge/tag workflow with fully automated releases.

Features:
- Daily check for new LLVM versions (all major.minor >= 16)
- Publishes latest patch version for each supported major.minor
- Manual trigger with comma-separated versions (e.g., "18.1.0,19.1.0")
- Force option to re-publish if PyPI upload failed but tag exists
- Processes all versions even if some fail, reports failures at end
- Uses uv for fast, reliable builds
- Creates GitHub Releases with LLVM release notes link

Setup Required:
1. Create a 'pypi' environment in GitHub repository settings
2. Configure PyPI trusted publisher: https://docs.pypi.org/trusted-publishers/

Removes:
- release.yml (replaced by publish.yml)
- llvm-update-autocheck.yml (merged into publish.yml)

Other improvements:
- Add Documentation section to README with official libclang docs links
- Add requires-python >= 3.9 and Python version classifiers
- Fix typo: [dependecy-groups] -> [dependency-groups]
- Fix missing newline at end of pyproject.toml
@elijahr elijahr force-pushed the upstream-automated-release branch from 309559b to 6b497c3 Compare December 3, 2025 08:49
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.

Major version behind

1 participant