;tools: just devtag-push
This commit is contained in:
parent
b19807571d
commit
25d4fc6636
17
Justfile
17
Justfile
@ -1566,11 +1566,7 @@ reltags:
|
|||||||
reltags-push VER:
|
reltags-push VER:
|
||||||
git push origin {{ VER }} hledger-{{ VER }} hledger-lib-{{ VER }} hledger-ui-{{ VER }} hledger-web-{{ 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.
|
# Tag the new dev cycle start and update version strings/manuals. Run on master. VER should be a dev version like A.B.99.
|
||||||
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.
|
|
||||||
@devtag VER:
|
@devtag VER:
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
just _on-master-branch
|
just _on-master-branch
|
||||||
@ -1580,6 +1576,17 @@ tags:
|
|||||||
./Shake manuals -c
|
./Shake manuals -c
|
||||||
echo "master's tag, version strings and manuals have been updated to {{ VER }}."
|
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
|
# XXX Run this only after .version has been updated to NEWVER
|
||||||
# @reltagmaster:
|
# @reltagmaster:
|
||||||
# git tag -fs `cat .version`.99 master -m "start of next release cycle"
|
# git tag -fs `cat .version`.99 master -m "start of next release cycle"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user