docs + chore(workplan): complete T05 for CYA-WP-0004 — lightweight release process (checklist + Makefile targets)

This commit is contained in:
2026-05-27 00:11:18 +02:00
parent 2306f05ebf
commit 358907b51f
3 changed files with 147 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
# Simple developer Makefile for can-you-assist
# Focus: easy dev-head install and common tasks
.PHONY: dev-install install test clean dist
.PHONY: dev-install install test clean dist version release-prep check-dist
# Install the package in editable mode from the current source
# This is the recommended way to work on the latest code
@@ -27,4 +27,19 @@ dist: clean
# Show current version (useful after setuptools_scm changes)
version:
python3 -c "import cya; print(cya.__version__)"
python3 -c "import cya; print(cya.__version__)"
# Prepare for a release (run tests + build clean artifacts)
release-prep: clean test dist
@echo ""
@echo "Release artifacts ready in dist/"
@echo "Next steps: create annotated git tag and push it."
# Verify the built wheel in an isolated environment
check-dist:
@echo "Testing wheel in fresh venv..."
@python3 -m venv /tmp/cya-dist-check
@/tmp/cya-dist-check/bin/pip install dist/can_you_assist-*.whl --quiet
@/tmp/cya-dist-check/bin/cya --version
@rm -rf /tmp/cya-dist-check
@echo "Wheel verification successful."