Track org-version.el

This file is needed for the emacs-sync, but if it's generated from the
emacs-sync, then the syncer needs to manually remove the hash from
org-git-version so it matches the output when the main release tag is
checked out.

Instead track it here and update the versions when the other
hard-coded versions are bumped.
This commit is contained in:
Kyle Meyer 2020-12-13 15:20:34 -05:00
parent 353bb43ac7
commit c2069daf9b
2 changed files with 24 additions and 1 deletions

1
.gitignore vendored
View File

@ -32,7 +32,6 @@ orgcard.txt
org
orgguide
org-loaddefs.el
org-version.el
doc/org-version.inc
doc/org-version.tex
org-*.tar*

24
lisp/org-version.el Normal file
View File

@ -0,0 +1,24 @@
;;; org-version.el --- autogenerated file, do not edit
;;
;;; Code:
;;;###autoload
(defun org-release ()
"The release version of Org.
Inserted by installing Org mode or when a release is made."
(let ((org-release "9.4.1"))
org-release))
;;;###autoload
(defun org-git-version ()
"The Git version of Org mode.
Inserted by installing Org or when a release is made."
(let ((org-git-version "release_9.4.1"))
org-git-version))
(provide 'org-version)
;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; coding: utf-8
;; End:
;;; org-version.el ends here