;tools: just relprep: simplify

This commit is contained in:
Simon Michael 2024-12-07 14:18:53 -10:00
parent a9b1c8b009
commit 1be0afe2ff

View File

@ -1111,17 +1111,16 @@ relprep VER:
set -euo pipefail set -euo pipefail
[[ -z {{ VER }} ]] && usage [[ -z {{ VER }} ]] && usage
BRANCH=$(just _versionReleaseBranch {{ VER }}) BRANCH=$(just _versionReleaseBranch {{ VER }})
COMMIT="-c"
echo "Switching to $BRANCH, auto-creating it if needed..." echo "Switching to $BRANCH, auto-creating it if needed..."
just _gitSwitchAutoCreate "$BRANCH" just _gitSwitchAutoCreate "$BRANCH"
echo "Bumping all version strings to {{ VER }} ..." echo "Bumping all version strings to {{ VER }} ..."
./Shake setversion {{ VER }} $COMMIT ./Shake setversion {{ VER }} -c
echo "Updating all command help texts for embedding..." echo "Updating all command help texts for embedding..."
./Shake cmddocs $COMMIT ./Shake cmddocs -c
echo "Updating all dates in man pages..." echo "Updating all dates in man pages..."
./Shake mandates ./Shake mandates
echo "Generating all the manuals in all formats...." echo "Generating all the manuals in all formats...."
./Shake manuals $COMMIT ./Shake manuals -c
# echo "Updating CHANGES.md files with latest commits..." # echo "Updating CHANGES.md files with latest commits..."
# ./Shake changelogs $COMMIT # ./Shake changelogs $COMMIT