Skip to content

Commit e1f8966

Browse files
authored
Add fallback version
1 parent ad227d2 commit e1f8966

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
@@ -8,7 +8,7 @@ inThisBuild(
88
Seq(
99
scalaVersion := currentScalaVersion,
1010
// Load version from the file so that Gradle/Shipkit and SBT use the same version
11-
version := sys.env.get("PROJECT_VERSION").get
11+
version := sys.env.getOrElse("PROJECT_VERSION", "0.1.0")
1212
)
1313
)
1414

0 commit comments

Comments
 (0)