Skip to content

Commit

Permalink
Fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed May 8, 2020
1 parent a9d0179 commit e816c60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import com.typesafe.sbt.packager.docker.{Cmd, ExecCmd}
version in Docker := {
version.value match {
case stableVersion(_, _) => version.value
case betaVersion(v1, v2) => v1 + "-0.1RC" + v2
case betaVersion(v1, v2, v3) => v1 + "-0." + v3 + "RC" + v2
case snapshotVersion(stableVersion(v1, v2)) => v1 + "-" + v2 + "-SNAPSHOT"
case snapshotVersion(betaVersion(v1, v2, v3)) => v1 + "-0." + v3 + "RC" + v2 + "-SNAPSHOT"
case _ => versionUsage(version.value)
Expand Down
2 changes: 1 addition & 1 deletion rpm.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Common.{betaVersion, snapshotVersion, stableVersion, versionUsage}
version in Rpm := {
version.value match {
case stableVersion(v1, _) => v1
case betaVersion(v1, _) => v1
case betaVersion(v1, _, _) => v1
case snapshotVersion(stableVersion(v1, _)) => v1
case snapshotVersion(betaVersion(v1, _, _)) => v1
case _ => versionUsage(version.value)
Expand Down

0 comments on commit e816c60

Please sign in to comment.