Skip to content

Commit 58a4d83

Browse files
tbitcsoz-agent
andcommitted
release: bump to v0.11.5; add RTD stable trigger to release workflow
- pyproject.toml, __init__.py: 0.11.4 → 0.11.5 - release.yml: add rtd-publish job that triggers RTD stable + latest builds after PyPI publish succeeds (mirrors dev-release.yml pattern) Release notes (since v0.11.4): - Security: fix CodeQL py/path-injection false positives in governance_logic.py (dismissed 6 alerts; validated project root with _safe_resolve + inline literal child paths matching existing _read_confidence_threshold pattern) - Fix: ruff formatting and 4 broken MkDocs strict-mode doc links - Chore: update GitHub repo topics and About description Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent 17e1042 commit 58a4d83

3 files changed

Lines changed: 37 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,38 @@ jobs:
8888
uses: pypa/gh-action-pypi-publish@release/v1
8989
with:
9090
skip_existing: true
91+
92+
rtd-publish:
93+
needs: pypi-publish
94+
runs-on: ubuntu-latest
95+
continue-on-error: true
96+
steps:
97+
- name: Trigger ReadTheDocs stable build
98+
env:
99+
RTD_TOKEN: ${{ secrets.RTD_TOKEN }}
100+
run: |
101+
if [ -z "$RTD_TOKEN" ]; then
102+
echo "WARNING: RTD_TOKEN not set — skipping RTD trigger."
103+
exit 0
104+
fi
105+
TAG="${{ github.ref_name }}"
106+
echo "Triggering RTD builds for tag ${TAG}..."
107+
108+
# 1. Trigger the 'stable' version build (auto-tracked from latest tag)
109+
STATUS=$(curl -s -o /dev/null -w "%{http_code}" -X POST \
110+
-H "Authorization: Token $RTD_TOKEN" \
111+
"https://readthedocs.org/api/v3/projects/specsmith/versions/stable/builds/")
112+
echo "RTD stable build trigger: HTTP $STATUS"
113+
114+
# 2. Point 'latest' at main so it tracks the stable release
115+
curl -s -o /dev/null -X PATCH \
116+
-H "Authorization: Token $RTD_TOKEN" \
117+
-H "Content-Type: application/json" \
118+
-d '{"identifier": "main", "active": true}' \
119+
"https://readthedocs.org/api/v3/projects/specsmith/versions/latest/"
120+
121+
# 3. Trigger a fresh 'latest' build (now tracking main)
122+
LATEST=$(curl -s -o /dev/null -w "%{http_code}" -X POST \
123+
-H "Authorization: Token $RTD_TOKEN" \
124+
"https://readthedocs.org/api/v3/projects/specsmith/versions/latest/builds/")
125+
echo "RTD latest build trigger: HTTP $LATEST"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "specsmith"
7-
version = "0.11.4"
7+
version = "0.11.5"
88
description = "Applied Epistemic Engineering toolkit — AEE agent sessions, execution profiles, FPGA/HDL governance, tool installer, 50+ CLI commands."
99
readme = "README.md"
1010
license = "MIT"

src/specsmith/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
try:
99
__version__: str = _pkg_version("specsmith")
1010
except PackageNotFoundError: # running from source without install
11-
__version__ = "0.11.4" # fallback: keep in sync with pyproject.toml
11+
__version__ = "0.11.5" # fallback: keep in sync with pyproject.toml

0 commit comments

Comments
 (0)