Skip to content

Commit

Permalink
use consistent snapshot versions
Browse files Browse the repository at this point in the history
  • Loading branch information
brettatoms committed Oct 29, 2024
1 parent 8f027b3 commit e5f4ef0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
[deps-deploy.deps-deploy :as dd]))

(def lib 'com.github.brettatoms/zodiac)
(def version (format "0.1.%s" (b/git-count-revs nil)))
(def snapshot (str version "-SNAPSHOT"))

(defn- version-base [patch] (format "0.1.%s" patch))
(def version (version-base (b/git-count-revs nil)))
(def snapshot (version-base "9999-SNAPSHOT"))
(def class-dir "target/classes")
(def jar-file (format "target/%s-%s.jar" (name lib) version))

Expand Down

0 comments on commit e5f4ef0

Please sign in to comment.