Skip to content

Versioned docs + release workflow revamp (#47, #39) - #48

Merged
ilouzl merged 4 commits into
masterfrom
cursor/docs-pypi-version-alignment-e700
Jul 28, 2026
Merged

Versioned docs + release workflow revamp (#47, #39)#48
ilouzl merged 4 commits into
masterfrom
cursor/docs-pypi-version-alignment-e700

Conversation

@ilouzl

@ilouzl ilouzl commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Aligns published docs with PyPI releases (#47) and deduplicates the test matrix (#39).

Release model: author-written changelog + prep-commit-then-tag + verify-only pipeline.

Per PR

  • Contributors add a bullet under ## Unreleased in docs/release-notes.md
  • New changelog.yml fails the PR if no Unreleased entry was added; bypass with the skip-changelog label
  • Verify docs and CI still run

Releasing (local, then tag)

  • scripts/prepare_release.py X.Y.Z bumps tapsdk/__version__.py and renames Unreleased -> X.Y.Z (date), opening a fresh Unreleased
  • Commit that prep change, tag vX.Y.Z, and push

Tag pipeline (verify-only)

  • publish.yml no longer mutates files or pushes to master (contents: read). It re-runs tests, validates the tag vs __version__, verifies the release-notes section exists and Unreleased is empty, then builds + publishes to PyPI
  • docs.yml deploys mike-versioned docs from the tagged release commit after a successful publish, so tag/PyPI/docs all agree

Test dedup (#39)

  • New reusable tests.yml (workflow_call) holds the single lint + OS x Python matrix
  • test.yml (CI) and the test job in publish.yml both call it; publish stays gated on test

Maintainer follow-up (one-time)

  • Set GitHub Pages source to Deploy from a branch -> gh-pages / (root)
  • Optionally create a skip-changelog label

Test plan

  • mkdocs build --strict
  • prepare_release.py dry behavior: refuses empty Unreleased, cuts a versioned section otherwise
  • flake8 clean on new scripts; all workflow YAML parses
  • After merge: confirm Pages branch setting; a vX.Y.Z tag publishes and deploys versioned docs
Open in Web Open in Cursor 

Deploy MkDocs with mike only after a successful PyPI publish (separate
workflow), migrate History.md into docs/release-notes.md, and auto-fill
missing release-note sections from merged PRs on tag publish.

Co-authored-by: Liron Ilouz <ilouzl@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

Docs check

  • Status: OK
  • Affected quadrants: none
  • Gaps: none
  • Suggested edits: none

…test dedup

- docs/release-notes.md gains an Unreleased section maintained per PR
- changelog.yml enforces an Unreleased entry per PR (skip-changelog label bypass)
- scripts/prepare_release.py cuts releases locally (bump + rename Unreleased);
  removes PR-scraping generator
- publish.yml is verify-only (no file mutation, contents: read) and checks that
  release notes were prepared
- docs.yml deploys from the tagged release commit, not master
- extract reusable tests.yml called by CI and publish, gating publish (#39)

Co-authored-by: Liron Ilouz <ilouzl@users.noreply.github.com>
@cursor cursor Bot changed the title Align versioned docs with PyPI releases (#47) Versioned docs + release workflow revamp (#47, #39) Jul 27, 2026
Satisfy the new changelog check by recording the user-facing docs and
release-flow changes introduced in #48.

Co-authored-by: Liron Ilouz <ilouzl@users.noreply.github.com>
@ilouzl
ilouzl marked this pull request as ready for review July 28, 2026 08:53
Build and validate the cut changelog in memory first, then write
__version__.py and release-notes.md. A failed Unreleased check no longer
leaves a half-applied version bump.

Co-authored-by: Liron Ilouz <ilouzl@users.noreply.github.com>
@ilouzl
ilouzl merged commit f6a0b45 into master Jul 28, 2026
13 checks passed
@ilouzl

ilouzl commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

closing #47 and #39

@ilouzl ilouzl mentioned this pull request Jul 28, 2026
@ilouzl
ilouzl deleted the cursor/docs-pypi-version-alignment-e700 branch July 30, 2026 07:26
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.

2 participants