[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 9a4a24a 12/85: mk/targets.mk: Fix ORGVERSION in tag
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 9a4a24a 12/85: mk/targets.mk: Fix ORGVERSION in tag-less repos |
Date: |
Mon, 27 Sep 2021 15:57:40 -0400 (EDT) |
branch: externals/org
commit 9a4a24a949c814740ff27e493175dc8b09c6be55
Author: Nicholas Vollmer <iarchivedmywholelife@gmail.com>
Commit: Kyle Meyer <kyle@kyleam.com>
mk/targets.mk: Fix ORGVERSION in tag-less repos
* mk/targets.mk (ORGVERSION, GITVERSION): trim "-dev" suffix from
ORGVERSION.
61336f80 uses org.el's Version metadata to generate ORGVERSION when
the source repository has no tags.
This can result in an org-version of "Major.Minor-dev".
The "-dev" suffix is not recognized by `version-to-list' as a valid
version syntax because it is not part of `version-regexp-alist'.
---
mk/targets.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mk/targets.mk b/mk/targets.mk
index 693e378..ee6f3f3 100644
--- a/mk/targets.mk
+++ b/mk/targets.mk
@@ -15,8 +15,8 @@ ifneq ($(wildcard .git),)
ifeq ($(ORGVERSION),)
# In elpa.git, there are no tags available. Fall back to using
# the org.el header.
- ORGVERSION := $(shell $(BATCH) --eval "(require 'lisp-mnt)" \
- --visit lisp/org.el --eval '(princ (lm-header "version"))')
+ ORGVERSION := $(patsubst %-dev,%,$(shell $(BATCH) --eval "(require
'lisp-mnt)" \
+ --visit lisp/org.el --eval '(princ (lm-header "version"))'))
GITVERSION ?= $(ORGVERSION)-g$(shell git rev-parse --short=6 HEAD)
else
GITVERSION ?= $(shell git describe --match release\* --abbrev=6 HEAD)
- [elpa] externals/org 72c9f1b 43/85: Merge branch 'bugfix', (continued)
- [elpa] externals/org 72c9f1b 43/85: Merge branch 'bugfix', ELPA Syncer, 2021/09/27
- [elpa] externals/org acc49d5 41/85: Merge branch 'bugfix', ELPA Syncer, 2021/09/27
- [elpa] externals/org 1f3722c 65/85: Backport commit c78e16962 from Emacs, ELPA Syncer, 2021/09/27
- [elpa] externals/org c305bb7 69/85: org-agenda: Allow org-agenda-overriding-header to be a function, ELPA Syncer, 2021/09/27
- [elpa] externals/org 2db02f9 70/85: Merge branch 'bugfix', ELPA Syncer, 2021/09/27
- [elpa] externals/org 177745e 73/85: doc/org-manual.org (Citations handling): New section, ELPA Syncer, 2021/09/27
- [elpa] externals/org 1f2c26a 15/85: Merge branch 'bugfix', ELPA Syncer, 2021/09/27
- [elpa] externals/org 815c0b3 19/85: Merge branch 'bugfix', ELPA Syncer, 2021/09/27
- [elpa] externals/org f5392c4 08/85: Merge branch 'km/from-emacs-master', ELPA Syncer, 2021/09/27
- [elpa] externals/org 4063d4c 06/85: org: Rename for more consistency, ELPA Syncer, 2021/09/27
- [elpa] externals/org 9a4a24a 12/85: mk/targets.mk: Fix ORGVERSION in tag-less repos,
ELPA Syncer <=
- [elpa] externals/org 2311677 13/85: mk/server.mk: Use a new path, ELPA Syncer, 2021/09/27
- [elpa] externals/org ce99b55 14/85: Merge commit '986341bd08', ELPA Syncer, 2021/09/27
- [elpa] externals/org 26b0297 20/85: Merge branch 'bugfix', ELPA Syncer, 2021/09/27
- [elpa] externals/org 45a5f17 21/85: org-manual.org: Augment TODO keywords example, ELPA Syncer, 2021/09/27
- [elpa] externals/org 35690cd 36/85: org-src.el (org-src--contents-for-write-back): Do not indent blank lines, ELPA Syncer, 2021/09/27
- [elpa] externals/org faf1ba8 34/85: Merge branch 'bugfix', ELPA Syncer, 2021/09/27
- [elpa] externals/org 63a5af9 63/85: Backport commit 85e9e5f61 from Emacs, ELPA Syncer, 2021/09/27
- [elpa] externals/org 5e58af5 52/85: oc-csl: Use citeproc-el to create CSL processor itemgetters, ELPA Syncer, 2021/09/27
- [elpa] externals/org be0cdd1 40/85: org-mouse: Support intermediate-state checkboxes, ELPA Syncer, 2021/09/27
- [elpa] externals/org db67c7e 55/85: Move some ob-*el files to the new org-contrib repo, ELPA Syncer, 2021/09/27