This commit is contained in:
Michiel Borkent 2022-06-07 21:49:00 +02:00
parent 9698ddae61
commit 05223adf7e

View file

@ -8,6 +8,7 @@
(System/getenv "APPVEYOR_REPO_BRANCH") (System/getenv "APPVEYOR_REPO_BRANCH")
(System/getenv "CIRCLE_BRANCH") (System/getenv "CIRCLE_BRANCH")
(System/getenv "GITHUB_REF_NAME") (System/getenv "GITHUB_REF_NAME")
(System/getenv "CIRRUS_BRANCH")
(-> (sh "git" "rev-parse" "--abbrev-ref" "HEAD") (-> (sh "git" "rev-parse" "--abbrev-ref" "HEAD")
:out :out
str/trim))) str/trim)))
@ -17,6 +18,7 @@
_ (println "Github token found") _ (println "Github token found")
file (first args) file (first args)
branch (current-branch) branch (current-branch)
_ (println "On branch:" branch)
current-version current-version
(-> (slurp "resources/BABASHKA_VERSION") (-> (slurp "resources/BABASHKA_VERSION")
str/trim)] str/trim)]