diff --git a/Justfile b/Justfile index e55f0a1b2..9662064e7 100644 --- a/Justfile +++ b/Justfile @@ -1441,13 +1441,17 @@ _on-master-branch: just _on-release-branch 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: just _on-release-branch - doc/ghrelnotes `cat .version` | pbcopy - echo "Github release notes for `cat .version` copied to clipboard" - echo "Paste into release created by tags push" - echo "Or if that failed, create it manually: https://github.com/simonmichael/hledger/releases/new" + doc/ghrelnotes `cat .version` | tee pbcopy + # echo "Github release notes for `cat .version` copied to clipboard" + # echo "Paste into release created by tags push" + # 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. reltags: