       ;; Q: Should this go into public domain like the rest
       ;; of the pieces?
       :license     {"Eclipse Public License"
-                    "http://www.eclipse.org/legal/epl-v10.html"}})
+                    "http://www.eclipse.org/legal/epl-v10.html"}}
+ ;; This might not be generally warranted.
+ ;; Then again...it seems like it only matters for "real" releases.
+ push {:ensure-branch nil})
 
 (require '[adzerk.bootlaces :refer [bootlaces! build-jar push-snapshot push-release]]
          '[adzerk.boot-test :refer [test]]


(task-options!
 aot {:namespace   #{'frereth-cp.server 'frereth-cp.client}}
 jar {:main        'frereth-cp.server
      :file        (str "frereth-cp-" version ".jar")}
 pom {:project     project
      :version     version
      :description "Implement CurveCP in clojure"
      ;; TODO: Add a real website
      :url         "https://github.com/jimrthy/frereth-cp"

         '[samestep.boot-refresh :refer [refresh]]
         '[tolitius.boot-check :as check])

(deftask set-version
  []
  (let [version (deduce-version-from-git)]
    (task-options!
     jar {:file (str "frereth-cp-" version ".jar")}
     pom {:version version})
    (bootlaces! version :dont-modify-paths? true))
  identity)

(deftask build
  "Build the project locally as a JAR."
