dev: change version suffix from *-dev to *-pre

Emacs' version library (e.g. version-to-list) understands a number of
suffixes (see version-regexp-alist), but -dev is not one of them. Rather
than break compatibility (or impose a new, non-portable value onto
version-regexp-alist), I think it's best we adopt -pre instead. I
could've chosen -rc, -alpha, -beta, or -git, but I don't think any of
these accurately represent Doom's current state yet (and I don't want to
lock its versioning to git).
This commit is contained in:
Henrik Lissner 2022-09-15 03:19:48 +02:00
parent b183a0835d
commit 3d6e0311b9
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -141,11 +141,11 @@
"An Emacs framework for the stubborn martian hacker." "An Emacs framework for the stubborn martian hacker."
:link '(url-link "https://doomemacs.org")) :link '(url-link "https://doomemacs.org"))
(defconst doom-version "3.0.0-dev" (defconst doom-version "3.0.0-pre"
"Current version of Doom Emacs core.") "Current version of Doom Emacs core.")
;; DEPRECATED: Remove these when the modules are moved out of core. ;; DEPRECATED: Remove these when the modules are moved out of core.
(defconst doom-modules-version "22.09.0-dev" (defconst doom-modules-version "22.09.0-pre"
"Current version of Doom Emacs.") "Current version of Doom Emacs.")
(defconst doom-profile (defconst doom-profile