Skip to content

Commit

Permalink
Try simpifying snapshot name
Browse files Browse the repository at this point in the history
  • Loading branch information
bpitman committed Jul 13, 2015
1 parent 3151557 commit ad87465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/GitVersion.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ object GitVersion {
git.gitDescribedVersion.value getOrElse "0.1-SNAPSHOT" match {
case v if (isPullRequest) => s"0.0.0-PULLREQUEST"
case descVersion(v, "0", _) => v
case descVersion(v, n, h) => s"$v-${"%02d".format(n.toInt)}-$h-SNAPSHOT"
case descVersion(v, n, h) => s"${v}-SNAPSHOT"//s"${v}-${"%02d".format(n.toInt)}-${h}-SNAPSHOT"
case v => v
}
}
Expand Down

0 comments on commit ad87465

Please sign in to comment.