From fc25be76145aec3dfc4f5cb2cc7a47dcc78d889a Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Thu, 26 Nov 2020 10:22:52 +0800 Subject: [PATCH] 0.9.1 --- build.sc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sc b/build.sc index 89fd7af98c7..0885fd6ceee 100755 --- a/build.sc +++ b/build.sc @@ -857,7 +857,7 @@ def launcher = T{ val isMasterCommit = sys.env.get("GITHUB_REPOSITORY") == Some("lihaoyi/Ammonite") && - sys.env.get("GITHUB_REF").exists(_.endsWith("/master")) + sys.env.get("GITHUB_REF").exists(x => x.endsWith("/master") || x.startsWith("/refs/tags/")) def gitHead = T.input{ os.proc('git, "rev-parse", "HEAD").call().out.trim }