From b8f3d3bef2b587010f58ae581d61a0a72b8cabf7 Mon Sep 17 00:00:00 2001 From: Henry Bley-Vroman Date: Thu, 13 Feb 2025 09:04:59 -1000 Subject: [PATCH] chore: add changelog script --- bin/changelog | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 bin/changelog diff --git a/bin/changelog b/bin/changelog new file mode 100755 index 0000000..9afdca4 --- /dev/null +++ b/bin/changelog @@ -0,0 +1,12 @@ +#!/usr/bin/env zsh + +main() { + [[ -n $('builtin' 'command' -v conventional-changelog) ]] || { + printf "Requires conventional-changelog\nhttps://github.com/conventional-changelog/conventional-changelog\n" + return 1 + } + + 'builtin' 'command' conventional-changelog -i CHANGELOG.md -s -p angular +} + +main