Use UTC timezone when setting dates, to align with MELPA

This commit is contained in:
Carlo Sciolla 2019-08-21 12:06:38 +02:00
parent 4a908c2279
commit 04110d0110
No known key found for this signature in database
GPG Key ID: BA5D71E6F3C580C1
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ function grab_version(){
# Updates the version in-place
function update_version(){
NEW_VERSION="${1}"
sed -i -E "s/plantuml-mode-version \"[1-9\.]+\"/plantuml-mode-version \"${1}\"/" plantuml-mode.el
sed -i -E "s/plantuml-mode-version \"[0-9\.]+\"/plantuml-mode-version \"${1}\"/" plantuml-mode.el
}
case "$(git rev-parse --abbrev-ref HEAD)" in
@ -22,7 +22,7 @@ case "$(git rev-parse --abbrev-ref HEAD)" in
;;
'develop')
VERSION="$(date '+%Y%m%d.%-H%M')" # MELPA style
VERSION="$(TZ='UTC' date '+%Y%m%d.%-H%M')" # MELPA style
update_version "${VERSION}"
git add plantuml-mode.el
;;

View File

@ -92,7 +92,7 @@
(defvar plantuml-mode-hook nil "Standard hook for plantuml-mode.")
(defconst plantuml-mode-version "20190821.1053" "The plantuml-mode version string.")
(defconst plantuml-mode-version "20190821.1011" "The plantuml-mode version string.")
(defvar plantuml-mode-debug-enabled nil)