;tools: just ghrelnotes-publish: update release notes on github
Requires Github's `gh` CLI tool.
This commit is contained in:
parent
311ee115c6
commit
b61cd5b11c
14
Justfile
14
Justfile
@ -1441,13 +1441,17 @@ _on-master-branch:
|
|||||||
just _on-release-branch
|
just _on-release-branch
|
||||||
tools/relnotes.hs
|
tools/relnotes.hs
|
||||||
|
|
||||||
# Generate github release notes for the .version release and copy to clipboard.
|
# Generate github release notes for the current release, on stdout and in clipboard.
|
||||||
@ghrelnotes:
|
@ghrelnotes:
|
||||||
just _on-release-branch
|
just _on-release-branch
|
||||||
doc/ghrelnotes `cat .version` | pbcopy
|
doc/ghrelnotes `cat .version` | tee pbcopy
|
||||||
echo "Github release notes for `cat .version` copied to clipboard"
|
# echo "Github release notes for `cat .version` copied to clipboard"
|
||||||
echo "Paste into release created by tags push"
|
# echo "Paste into release created by tags push"
|
||||||
echo "Or if that failed, create it manually: https://github.com/simonmichael/hledger/releases/new"
|
# echo "Or if that failed, create it manually: https://github.com/simonmichael/hledger/releases/new"
|
||||||
|
|
||||||
|
# Generate github release notes and update the release on github with the latest text.
|
||||||
|
@ghrelnotes-publish:
|
||||||
|
just ghrelnotes | gh release edit -F- `cat .version`
|
||||||
|
|
||||||
# Make git tags for a full release today. Run on release branch.
|
# Make git tags for a full release today. Run on release branch.
|
||||||
reltags:
|
reltags:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user