Skip to content

Commit

Permalink
fixup! fixup! fixup! allow to version with any fn source
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenet committed Jul 18, 2024
1 parent d27447c commit 84f56aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/exoscale/tools/project/standalone.clj
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@
(catch java.io.FileNotFoundException _fnf)))

(defn assoc-version
[{:as opts :exoscale.project/keys [version-file]}]
(let [v (version/read-version-file* version-file)]
[{:as opts}]
(let [v (v/get-version opts)]
(cond-> opts
(some? v)
(assoc :exoscale.project/version (version/read-version-file* version-file)))))
(assoc :exoscale.project/version v))))

(defn- assoc-deps-file
"unless explicit options are given, prepare deps-module configuration"
Expand Down

0 comments on commit 84f56aa

Please sign in to comment.