diff options
author | Wilfred Hughes <me@wilfred.me.uk> | 2023-08-15 23:40:32 -0700 |
---|---|---|
committer | Wilfred Hughes <me@wilfred.me.uk> | 2023-08-15 23:40:32 -0700 |
commit | 76fcc933d53aad87ea68cee5bccef8a3abbcb92e (patch) | |
tree | a48dd4666aa4340dcc14bb69da15d26a34b61115 | |
parent | 11899a237ca2f81a8d104e5ea3c2d06592fc6beb (diff) |
Move changelog parsing to justfile
-rw-r--r-- | justfile | 7 | ||||
-rwxr-xr-x | scripts/parse_changelog.sh | 5 |
2 files changed, 7 insertions, 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 diff --git a/scripts/parse_changelog.sh b/scripts/parse_changelog.sh deleted file mode 100755 index 6249d8d68..000000000 --- a/scripts/parse_changelog.sh +++ /dev/null @@ -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 |