Skip to content

Commit

Permalink
- set project metadata version as a plain string for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
wdhowe committed Feb 2, 2024
1 parent 0d7d810 commit 8a69c66
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@
(:require [clojure.tools.build.api :as b]
[deps-deploy.deps-deploy :as dd]))

;; Project Metadata
(def lib 'com.github.wdhowe/clj-contrib)
(def version "1.0.0")

(defn- the-version [patch] (format "1.0.%s" patch))
(def version (the-version (b/git-count-revs nil)))
;(def version (the-version (b/git-count-revs nil)))
(def snapshot (the-version "999-SNAPSHOT"))
(def class-dir "target/classes")

Expand Down

0 comments on commit 8a69c66

Please sign in to comment.