                        bin-files
                        terminus-files
                        upstream-ezbake-configs
-                       additional-uberjars))))
+                       additional-uberjars
+                       timestamp))))
 
 (defn generate-project-data-yaml
   [lein-project build-target additional-uberjars]

;; up a git tag; it seems like the packaging code is pretty well hard-coded
;; to try to pull this info from git.
(defn create-git-repo
  [lein-project]
  (lein-main/info "Creating temporary git repo")
  (exec/exec "git" "init" staging-dir)
  (lein-main/info "Adding all files to git repo")
  (staging-dir-git-cmd "add" "*")
  (lein-main/info "Committing git repo")
  (staging-dir-git-cmd "commit" "-m" "'Temporary git repo to house packaging code'")
  (let [git-tag (generate-git-tag-from-version (:version lein-project))]
    (lein-main/info "Tagging git repo at" git-tag)
    (staging-dir-git-cmd "tag" "-a" git-tag "-m" "Tag for packaging code")))


    lein-version))

(defn generate-package-release-from-version
  [lein-version timestamp]
  {:pre [(string? lein-version)]
   :post [(string? %)]}
  (if (.endsWith lein-version "-SNAPSHOT")
    (format "%s.%s"
            (str/replace lein-version #".*-" "0.1")
            timestamp)
    "1"))

;; TODO: this is a horrible, horrible hack; I can't yet see a good way to
