Skip to content

Commit ebf3148

Browse files
committed
[ci] Fix versioning
1 parent 6fd75f0 commit ebf3148

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bb.edn

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
(def tag (release-tag))
2727
(def latest-hash (latest-hash))
2828
(def release-hash (release-hash))
29-
(def version (cond-> tag
30-
(not= release-hash latest-hash)
31-
(str "--" latest-hash)))
32-
(def opts {:extra-env {"DAY8_RELEASE_TAG" tag
33-
"RE_COM_VERSION" version}}))
29+
(def version (apply str (drop-while #{\v} tag)))
30+
(def opts {:extra-env {"RE_COM_TAG" tag
31+
"RE_COM_VERSION" (cond-> tag
32+
(not= release-hash latest-hash)
33+
(str "--" latest-hash))}}))
3434
clean (let [clean-targets ["node_modules"
3535
"run/resources/public/compiled_dev "
3636
"run/resources/public/compiled_prod"

0 commit comments

Comments
 (0)