From 706d079e43b75d2b0176a90c95d504e30e53dd21 Mon Sep 17 00:00:00 2001
From: Yuanle Song <sylecn@gmail.com>
Date: Sun, 1 Sep 2019 22:36:18 +0800
Subject: [PATCH] include zero-el version in zip file name.

---
 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 178c8af..3d67ee1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
+VERSION := $(shell grep 'setq zero-version' zero-framework.el | cut -d'"' -f2)
+
 compile:
 	emacs -Q --batch -l zero-reload-all.el -f zero-rebuild -l zero-table.el -f ert-run-tests-batch
 zip:
-	git archive -o zero-el.zip --prefix=zero/ HEAD
+	git archive -o zero-el-$(VERSION).zip --prefix=zero/ HEAD
 .PHONY: zip compile
-- 
GitLab