summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2023-08-15 23:40:32 -0700
committerWilfred Hughes <me@wilfred.me.uk>2023-08-15 23:40:32 -0700
commit76fcc933d53aad87ea68cee5bccef8a3abbcb92e (patch)
treea48dd4666aa4340dcc14bb69da15d26a34b61115
parent11899a237ca2f81a8d104e5ea3c2d06592fc6beb (diff)
Move changelog parsing to justfile
-rw-r--r--justfile7
-rwxr-xr-xscripts/parse_changelog.sh5
2 files changed, 7 insertions, 5 deletions
diff --git a/justfile b/justfile
index 187ef232b..ff5fe8539 100644
--- a/justfile
+++ b/justfile
@@ -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