We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bfabef commit f8594e7Copy full SHA for f8594e7
clj/src/vim_clojure_static/generate.clj
@@ -458,9 +458,9 @@
458
(defn- update-vim!
459
"Update Vim repository runtime files in dst/runtime"
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!")
+ (let [current-tag (string/trim-newline (:out (sh "git" "rev-parse" "HEAD")))
+ current-date (.format (SimpleDateFormat. "YYYY-MM-dd") (Date.))]
+ (assert (seq current-tag) "Git HEAD doesn't appear to have a commit hash.")
464
(update-doc! #"CLOJURE\t*\*ft-clojure-indent\*"
465
(fjoin src "doc/clojure.txt")
466
(fjoin dst "runtime/doc/indent.txt"))
0 commit comments