]> git.frustrated-labs.net Git - gradle-changelog-plugin.git/commitdiff
feat: add sample pre-push script to integrate with changelog task
authorAlexander Goussas <[email protected]>
Fri, 24 Oct 2025 16:59:53 +0000 (11:59 -0500)
committerAlexander Goussas <[email protected]>
Fri, 24 Oct 2025 17:07:58 +0000 (12:07 -0500)
scripts/pre-push [new file with mode: 0644]

diff --git a/scripts/pre-push b/scripts/pre-push
new file mode 100644 (file)
index 0000000..c5daa81
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+./gradlew changelog
+git add CHANGELOG.md
+git commit -m 'docs: update CHANGELOG.md' || true