;just:relprep: fixes
This commit is contained in:
parent
0cd2c4591d
commit
bbd53d06be
3
Justfile
3
Justfile
@ -879,11 +879,12 @@ relfiles:
|
|||||||
# Prepare to release today, creating/switching to release branch, updating versions, dates, manuals, changelogs etc.
|
# Prepare to release today, creating/switching to release branch, updating versions, dates, manuals, changelogs etc.
|
||||||
relprep VER:
|
relprep VER:
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
[[ -z {{ VER }} ]] && usage
|
[[ -z {{ VER }} ]] && usage
|
||||||
BRANCH=$(just _versionReleaseBranch {{ VER }})
|
BRANCH=$(just _versionReleaseBranch {{ VER }})
|
||||||
COMMIT="-c"
|
COMMIT="-c"
|
||||||
echo "Switching to $BRANCH, auto-creating it if needed..."
|
echo "Switching to $BRANCH, auto-creating it if needed..."
|
||||||
_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 }} $COMMIT
|
||||||
echo "Updating all command help texts for embedding..."
|
echo "Updating all command help texts for embedding..."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user