Skip to content

ci(release): add manual trusted-publishing release workflow#20

Merged
CameronBrooks11 merged 1 commit into
mainfrom
ci/release-workflow
Jun 27, 2026
Merged

ci(release): add manual trusted-publishing release workflow#20
CameronBrooks11 merged 1 commit into
mainfrom
ci/release-workflow

Conversation

@CameronBrooks11

Copy link
Copy Markdown
Member

What

Adds .github/workflows/release.yml — a manual (workflow_dispatch) release pipeline so marlin-host can ship to PyPI, the prerequisite for fiberpath depending on a pinned release instead of its in-repo execution/marlin.py.

Deliberately leaner than fiberpath's release workflow (which carries an SBOM trio + Tauri installer matrix). marlin-host is a zero-dependency pure-Python library, so:

  • validate — semver format, tag vX.Y.Z is free, and input version matches both pyproject.toml and marlin_host.__version__ (guards the two-source drift)
  • releaseuv build → push tag → GitHub Release (auto-generated notes + wheel/sdist attached) → PyPI trusted publishing (OIDC, pypi environment)

Before the first run (manual, PyPI-side)

Configure a pending publisher on PyPI so trusted publishing resolves for the new project:

Field Value
PyPI project marlin-host
Owner fiberpath
Repository marlin-host
Workflow release.yml
Environment pypi

Notes

Mirror fiberpath's workflow_dispatch release pattern, trimmed for a
zero-dependency pure-Python library: validate (semver + tag-free +
version matches pyproject.toml and __init__.py) then build, tag,
GitHub Release (auto notes + wheel/sdist), and PyPI trusted publish.

No SBOM matrix or installer build — nothing to package beyond the wheel.
@CameronBrooks11
CameronBrooks11 merged commit 14352b8 into main Jun 27, 2026
5 checks passed
@CameronBrooks11
CameronBrooks11 deleted the ci/release-workflow branch June 27, 2026 19:43
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