     lein-version))
 
 (defn generate-package-release-from-version
-  [lein-version]
+  [lein-version timestamp]
   {:pre [(string? lein-version)]
    :post [(string? %)]}
   (if (.endsWith lein-version "-SNAPSHOT")
     (format "%s.%s"
             (str/replace lein-version #".*-" "0.1")
-            (get-timestamp-string))
+            timestamp)
     "1"))
 
 ;; TODO: this is a horrible, horrible hack; I can't yet see a good way to

                                                      variable)))]
    {:project                            (:name lein-project)
     :packaging-version                  (generate-package-version-from-version (:version lein-project))
     :packaging-release                  (generate-package-release-from-version (:version lein-project))
     :real-name                          (get-real-name (:name lein-project))
     :user                               (get-local-ezbake-var lein-project :user
                                                      (:name lein-project))

;; 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 timestamp]
  (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) timestamp)]
    (lein-main/info "Tagging git repo at" git-tag)
    (staging-dir-git-cmd "tag" "-a" git-tag "-m" "Tag for packaging code")))

