|
458 | 458 | (defn- update-vim!
|
459 | 459 | "Update Vim repository runtime files in dst/runtime"
|
460 | 460 | [src dst]
|
461 | | - (let [current-tag (string/trim-newline (:out (sh "git" "tag""--points-at" "HEAD"))) |
462 | | - current-date (.format (SimpleDateFormat. "dd MMMM YYYY") (Date.))] |
463 | | - (assert (seq current-tag) "Git HEAD is not tagged!") |
| 461 | + (let [current-tag (string/trim-newline (:out (sh "git" "rev-parse" "HEAD"))) |
| 462 | + current-date (.format (SimpleDateFormat. "YYYY-MM-dd") (Date.))] |
| 463 | + (assert (seq current-tag) "Git HEAD doesn't appear to have a commit hash.") |
464 | 464 | (update-doc! #"CLOJURE\t*\*ft-clojure-indent\*"
|
465 | 465 | (fjoin src "doc/clojure.txt")
|
466 | 466 | (fjoin dst "runtime/doc/indent.txt"))
|
|
0 commit comments