From bab557b3b5a5bf341e8721a121597a137e89fd0e Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 7 Dec 2024 14:38:44 -1000 Subject: [PATCH] ;tools: just relprep -> relbranch --- Justfile | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/Justfile b/Justfile index b2bd9c8ff..f338d35b9 100644 --- a/Justfile +++ b/Justfile @@ -1105,24 +1105,25 @@ bloglog: # ** Releasing ------------------------------------------------------------ RELEASING: -# Prepare to release today, creating/switching to release branch and doing routine updates - versions, dates, manuals, command helps -relprep VER: +# Create or switch to this release branch, and set the version string in various places. +relbranch VER: #!/usr/bin/env bash set -euo pipefail [[ -z {{ VER }} ]] && usage BRANCH=$(just _versionReleaseBranch {{ VER }}) - echo "Switching to $BRANCH, auto-creating it if needed..." + echo "Switching to $BRANCH, auto-creating it if needed" just _gitSwitchAutoCreate "$BRANCH" - echo "Bumping all version strings to {{ VER }} ..." + echo "Setting {{ VER }} in package.yamls and .version.m4 macros" ./Shake setversion {{ VER }} -c - echo "Updating all command help texts for embedding..." - ./Shake cmddocs -c - echo "Updating all dates in man pages..." - ./Shake mandates - echo "Generating all the manuals in all formats...." - ./Shake manuals -c - # echo "Updating CHANGES.md files with latest commits..." - # ./Shake changelogs $COMMIT +# Too much at once, allow smaller steps. +# echo "Updating all command help texts for embedding..." +# ./Shake cmddocs -c +# echo "Updating all dates in man pages..." +# ./Shake mandates +# echo "Generating all the manuals in all formats...." +# ./Shake manuals -c +# # echo "Updating CHANGES.md files with latest commits..." +# # ./Shake changelogs $COMMIT # Push the current branch to github to generate release binaries. @relbin: