Skip to content

Commit

Permalink
Get version tag for .jar name from envs
Browse files Browse the repository at this point in the history
  • Loading branch information
ApricotLace committed Mar 15, 2023
1 parent 7e3599b commit c6309c3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build/build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@

(def main-ns 'zen.fhir.tooling.cli)

(def tag (-> {:command-args ["git" "describe" "--tags"]
(def tag #_(-> {:command-args ["git" "describe" "--tags"]
:dir "./."
:out :capture}
b/process
:out
str/trim))
str/trim)
(System/getenv "RELEASE_VERSION"))

(def class-dir "target/classes")

Expand All @@ -21,7 +22,7 @@
(def uber-file
(format "target/%s-%s-standalone.jar"
(str/replace (name lib) #"\." "-")
tag))
tag))


(defn clean [_]
Expand Down

0 comments on commit c6309c3

Please sign in to comment.