branch: elpa/lua-mode
commit a5f8e7b2b65c7931e82f5c88b8f0d41180c012ef
Author: Reuben Thomas <[email protected]>
Commit: Reuben Thomas <[email protected]>
Fix generation and use of VERSION, and ignore release notes files.
---
.gitignore | 3 ++-
Makefile | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/.gitignore b/.gitignore
index 997fc87..631d8aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
-lua-mode-*.zip
\ No newline at end of file
+lua-mode-*.zip
+release-notes-*
diff --git a/Makefile b/Makefile
index 792e356..2386f00 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# Makefile for lua-mode
-VERSION=`grep "^;; Version:" lua-mode.el | cut -f 2`
+VERSION=$(shell grep "^;; Version:" lua-mode.el | cut -f 2)
DISTFILE = lua-mode-$(VERSION).zip
dist:
@@ -9,6 +9,6 @@ dist:
release:
git diff --exit-code && \
- git tag -a -m "Release tag" rel-`echo $(VERSION) | sed -e 's/\./-/g'`
&& \
+ git tag -a -m "Release tag" rel-$(VERSION) && \
git push origin master && git pull && \
woger lua-l lua-mode lua-mode "release $(VERSION)" "Emacs major mode
for editing Lua files" release-notes-$(VERSION)
http://github.com/rrthomas/lua-mode/