Skip to content

Commit dafc6d4

Browse files
committed
SBT: CI is an env var, not a property
1 parent 494744e commit dafc6d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ inThisBuild(List(
2525
def dynVer(out: sbtdynver.GitDescribeOutput): String = {
2626
def tagVersion = out.ref.dropPrefix
2727
if (out.isCleanAfterTag) tagVersion
28-
else if (System.getProperty("CI") == null) s"$tagVersion-next-SNAPSHOT" // modified for local builds
28+
else if (System.getenv("CI") == null) s"$tagVersion-next-SNAPSHOT" // modified for local builds
2929
else if (out.commitSuffix.distance == 0) tagVersion
3030
else if (sys.props.contains("backport.release")) tagVersion
3131
else curVersion

0 commit comments

Comments
 (0)