Move changelog parsing to justfile

syntax_id
Wilfred Hughes 2023-08-15 23:40:32 +07:00
parent 11899a237c
commit 76fcc933d5
2 changed files with 7 additions and 5 deletions

@ -17,3 +17,10 @@ release:
git push --tags
cargo set-version --bump minor
rel_notes:
#!/bin/bash
echo -e "Difftastic is a structural diff tool that understands syntax. See [the manual](https://difftastic.wilfred.me.uk/) to get started, and [the changelog](https://github.com/Wilfred/difftastic/blob/master/CHANGELOG.md) for historical changes.\n"
rg --max-count 1 -B 9999 "released " CHANGELOG.md | tail -n +3 | head -n -2

@ -1,5 +0,0 @@
#!/bin/bash
echo -e "Difftastic is a structural diff tool that understands syntax. See [the manual](https://difftastic.wilfred.me.uk/) to get started, and [the changelog](https://github.com/Wilfred/difftastic/blob/master/CHANGELOG.md) for historical changes.\n"
rg --max-count 1 -B 9999 "released " CHANGELOG.md | tail -n +3 | head -n -2