emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/lua-mode a5f8e7b 048/468: Fix generation and use of VERSIO


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode a5f8e7b 048/468: Fix generation and use of VERSION, and ignore release notes files.
Date: Thu, 5 Aug 2021 04:58:06 -0400 (EDT)

branch: elpa/lua-mode
commit a5f8e7b2b65c7931e82f5c88b8f0d41180c012ef
Author: Reuben Thomas <rrt@sc3d.org>
Commit: Reuben Thomas <rrt@sc3d.org>

    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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]