PageIndex/.github/workflows
mountain 6bcfd1011c ci: publish to PyPI on version tags
Add .github/workflows/publish.yml: pushing a PEP 440 tag (v0.3.0.dev2,
v0.3.0, v0.3.0rc1, …) derives the version from the tag, injects it into
pyproject.toml, builds, publishes to PyPI via OIDC trusted publishing
(no stored token), and creates a GitHub Release with generated notes.

Mirrors the OpenKnowledgeBase publish flow, but keeps poetry-core as the
build backend and injects the version in CI rather than switching to
VCS-driven versioning, so contributors' local builds are unaffected.

Requires one-time setup: a PyPI Trusted Publisher on the pageindex project
(repo VectifyAI/PageIndex, workflow publish.yml, environment pypi) and a
GitHub Environment named pypi.

Claude-Session: https://claude.ai/code/session_01Kx5DgKbhK1N8autqXH8SmS
2026-07-08 16:35:44 +08:00
..
autoclose-labeled-issues.yml Bump actions/checkout from 4 to 7 (#338) 2026-07-03 17:24:52 +08:00
backfill-dedupe.yml Bump actions/checkout from 4 to 7 (#338) 2026-07-03 17:24:52 +08:00
codeql.yml Bump actions/checkout from 4 to 7 (#338) 2026-07-03 17:24:52 +08:00
dependency-review.yml Bump actions/checkout from 4 to 7 (#338) 2026-07-03 17:24:52 +08:00
issue-dedupe.yml Bump actions/checkout from 4 to 7 (#338) 2026-07-03 17:24:52 +08:00
publish.yml ci: publish to PyPI on version tags 2026-07-08 16:35:44 +08:00
remove-autoclose-label.yml Refactor issue dedup system to use claude-code-action with /dedupe command 2026-03-02 17:05:44 +08:00