feat(releaseprep): migrate standalone tool into vociferate

This commit is contained in:
Micheal Wilkinson
2026-03-20 18:26:11 +00:00
parent 2060af6a78
commit caf0b6db76
9 changed files with 614 additions and 0 deletions

18
script/prepare-release.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -euo pipefail
if [[ $# -ne 1 ]]; then
echo "usage: $0 <version>" >&2
exit 2
fi
repo_root="$(cd "$(dirname "$0")/.." && pwd)"
release_date="$(date -u +%F)"
go run ./cmd/releaseprep \
--root "$repo_root" \
--version "$1" \
--date "$release_date" \
--version-file internal/releaseprep/version/version.go \
--version-pattern 'const String = "([^"]+)"' \
--changelog changelog.md