;tools: just devtag-push

This commit is contained in:
Simon Michael 2025-03-07 20:44:07 -10:00
parent b19807571d
commit 25d4fc6636

View File

@ -1566,11 +1566,7 @@ reltags:
reltags-push VER:
git push origin {{ VER }} hledger-{{ VER }} hledger-lib-{{ VER }} hledger-ui-{{ VER }} hledger-web-{{ VER }}
# List git tags approximately most recent first (grouped by package). The available fields vary over time.
tags:
git tag -l --sort=-tag --format='%(refname:short) taggerdate:%(taggerdate:iso8601) committerdate:%(committerdate:iso8601)}'
# Tag the new dev cycle start and update version strings/manuals. Run on master.
# Tag the new dev cycle start and update version strings/manuals. Run on master. VER should be a dev version like A.B.99.
@devtag VER:
set -euo pipefail
just _on-master-branch
@ -1580,6 +1576,17 @@ tags:
./Shake manuals -c
echo "master's tag, version strings and manuals have been updated to {{ VER }}."
# Push the dev tag configured in .version. Run on master after just devtag.
devtag-push:
#!/usr/bin/env bash
set -euo pipefail
just _on-master-branch
git push origin $(cat .version)
# List git tags approximately most recent first (grouped by package). The available fields vary over time.
tags:
git tag -l --sort=-tag --format='%(refname:short) taggerdate:%(taggerdate:iso8601) committerdate:%(committerdate:iso8601)}'
# XXX Run this only after .version has been updated to NEWVER
# @reltagmaster:
# git tag -fs `cat .version`.99 master -m "start of next release cycle"