From 48f5ea23de1b855543462ab2f182a152d893ec25 Mon Sep 17 00:00:00 2001 From: Julien Eluard Date: Fri, 5 Apr 2019 13:57:21 +0200 Subject: [PATCH] Improved commit message --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e17a328..1f40fbf 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,9 @@ dev: clojure -A:dev deploy-website: install compile - ./node_modules/gh-pages/bin/gh-pages.js --dotfiles --message "Deploying latest version" --dist resources/public + $(eval VERSION = $(shell git rev-parse --short HEAD)) + $(eval MESSAGE = 'Deploying \#$(VERSION)') + ./node_modules/gh-pages/bin/gh-pages.js --dotfiles --message ${MESSAGE} --dist resources/public clean: rm -rf target node_modules/ .cpcache/