Conventional-Commit-driven version bumps (scripts/bump.py), a commit-msg validation hook, and a /release-notes workflow that produces a human-reviewed CHANGELOG.md. Adds an in-app version badge + 'What's new' dialog on the launcher. The version is single-sourced from pyproject.toml (cim_suite.__version__), and the deterministic bump backbone lives in scripts/release/ with tests in tests/release/. Marks the 1.0.0 baseline. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
17 lines
539 B
Bash
17 lines
539 B
Bash
#!/bin/sh
|
|
# Validate the commit message against the Conventional Commit format.
|
|
# Delegates to scripts/commit_msg_hook.py (logic is unit-tested in tests/release).
|
|
# Installed via: python scripts/setup_hooks.py (sets core.hooksPath -> .githooks)
|
|
|
|
hook_dir=$(dirname "$0")
|
|
script="$hook_dir/../scripts/commit_msg_hook.py"
|
|
|
|
for py in python python3 py; do
|
|
if command -v "$py" >/dev/null 2>&1; then
|
|
exec "$py" "$script" "$1"
|
|
fi
|
|
done
|
|
|
|
echo "commit-msg hook: no python interpreter found on PATH; skipping validation" >&2
|
|
exit 0
|