From 11b066ae7096fd6306e430c4b13aa17c2a62a26b Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Thu, 13 May 2021 12:13:02 +0200 Subject: [PATCH] Include binary size in msg --- .circleci/script/publish_artifact.clj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.circleci/script/publish_artifact.clj b/.circleci/script/publish_artifact.clj index d7e38786..b7259b1b 100755 --- a/.circleci/script/publish_artifact.clj +++ b/.circleci/script/publish_artifact.clj @@ -23,17 +23,19 @@ (when (= "true" (System/getenv "BABASHKA_STATIC")) "-static"))) -(def release-text (format "[%s - %s@%s]: https://%s-201467090-gh.circle-artifacts.com/0/release/babashka-%s-%s.tar.gz" +(def release-text (format "[%s - %s@%s - %s]: https://%s-201467090-gh.circle-artifacts.com/0/release/babashka-%s-%s.tar.gz" platform (System/getenv "CIRCLE_BRANCH") (System/getenv "CIRCLE_SHA1") + (slurp (io/file "/tmp/bb_size/size")) (System/getenv "CIRCLE_BUILD_NUM") babashka-version - platform)) + platform + )) (slack! release-text) -(def binary-size-text +#_#_(def binary-size-text (format "[%s - %s@%s] binary size: %s" platform (System/getenv "CIRCLE_BRANCH")