Skip to content

Commit

Permalink
0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Nov 26, 2020
1 parent e2c36fc commit fc25be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

Expand Down

0 comments on commit fc25be7

Please sign in to comment.