branch: externals/transient
commit cf5e58a3a798f7204c857fe375bdb39bda9f87df
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    make: Automatically set date in changelog
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 15d6d14..7f5ab43 100644
--- a/Makefile
+++ b/Makefile
@@ -50,6 +50,7 @@ bump-version:
        @printf "Setting version in transient.el to $(VERSION)\n"
        @test -n "$(VERSION)" || (echo "Version not specified"; false)
        @sed -i -e "/Package-Version:/s|[0-9.]\+|$(VERSION)|" lisp/transient.el
+       @sed -i -e "/Package-Version:/s|UNRELEASED|$(shell date +%F)|" 
docs/CHANGELOG
 
 clean:
        @printf "Cleaning...\n"

Reply via email to