Use UTC timezone when setting dates, to align with MELPA
This commit is contained in:
parent
4a908c2279
commit
04110d0110
|
@ -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
|
||||
;;
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue