 
 (defn docs-repo-has-version?
   [v]
-  (let [result (git-docs-repo! "rev-parse" v)
+  (let [version (cljs-tag->version v)
+        result (git-docs-repo! "rev-parse" version)
         present? (zero? (:exit result))]
     present?))
 

          (let [parsed (attach-history-to-items parsed (:version-map @history))]
            (dump-api-docs! parsed))

          (println "\nCommitting docs at tag" version "...")
          (commit-docs-repo! version))

        (println "\nDone."))))


        (let [parsed (parse-all)
              symbols (set (map :full-name parsed))]

          (clear-docs-repo!)

          (println "\nWriting updated history to" history-filename "...")
          (mkdir *output-dir*)
