Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected tag on HEAD can cause scala.MatchError #15

Open
ckmcd opened this issue Oct 2, 2019 · 0 comments
Open

Unexpected tag on HEAD can cause scala.MatchError #15

ckmcd opened this issue Oct 2, 2019 · 0 comments

Comments

@ckmcd
Copy link

ckmcd commented Oct 2, 2019

[info] Loading settings for project sbt-harmony-release from build.sbt,scripted.sbt ...
[info] Skipping fetching tags from git remotes; to enable, set the system property version.autoFetch=true
[info] GitVersioningPlugin set versionFromGit=0.2.26-1-d2888ba-SNAPSHOT
[info] GitVersioningPlugin set release=Patch
[info] GitVersioningPlugin set version=0.2.26
[info] GitVersioningPlugin set isCleanRelease=true
[info] Set current project to sbt-harmony (in build file:/mnt/mesos/sandbox/workspace/harmony-be/sbt-harmony-release/)
[info] Checking remote [origin] ...
[info] Updating ProjectRef(uri("file:/mnt/mesos/sandbox/workspace/harmony-be/sbt-harmony-release/"), "sbt-harmony-release")...
[info] Done updating.
[warn] There may be incompatibilities among your library dependencies; run 'evicted' to see detailed eviction warnings.
[info] Packaging /mnt/mesos/sandbox/workspace/harmony-be/sbt-harmony-release/target/scala-2.12/sbt-1.0/sbt-harmony-0.2.26-sources.jar ...
[info] Done packaging.
[info] Wrote /mnt/mesos/sandbox/workspace/harmony-be/sbt-harmony-release/target/scala-2.12/sbt-1.0/sbt-harmony-0.2.26.pom
[info] Compiling 11 Scala sources to /mnt/mesos/sandbox/workspace/harmony-be/sbt-harmony-release/target/scala-2.12/sbt-1.0/classes ...
[info] Done compiling.
[info] Packaging /mnt/mesos/sandbox/workspace/harmony-be/sbt-harmony-release/target/scala-2.12/sbt-1.0/sbt-harmony-0.2.26.jar ...
[info] Done packaging.
[info] 	published sbt-harmony to https://xxx.jfrog.io/yyy/harmony-sbt-plugins/zzz/harmony/sbt-harmony_2.12_1.0/0.2.26/sbt-harmony-0.2.26.pom
[info] 	published sbt-harmony to https://xxx.jfrog.io/yyy/harmony-sbt-plugins/zzz/harmony/sbt-harmony_2.12_1.0/0.2.26/sbt-harmony-0.2.26..jar
[info] 	published sbt-harmony to https://xxx.jfrog.io/yyy/harmony-sbt-plugins/zzz/harmony/sbt-harmony_2.12_1.0/0.2.26/sbt-harmony-0.2.26.s.jar
[success] Total time: 9 s, completed Oct 2, 2019 8:11:57 PM
[info] Reapplying settings...
[info] Skipping fetching tags from git remotes; to enable, set the system property version.autoFetch=true
[error] scala.MatchError: v0.2.26-1-d2888ba-SNAPSHOT (of class java.lang.String)
[error] 	at com.rallyhealth.sbt.versioning.GitBranchStateTwoReleases.$anonfun$new$3(GitState.scala:46)
[error] 	at com.rallyhealth.sbt.versioning.GitBranchStateTwoReleases.$anonfun$new$3$adapted(GitState.scala:46)
[error] 	at scala.collection.LinearSeqOptimized.exists(LinearSeqOptimized.scala:91)
[error] 	at scala.collection.LinearSeqOptimized.exists$(LinearSeqOptimized.scala:88)
[error] 	at scala.collection.immutable.Stream.exists(Stream.scala:200)
[error] 	at com.rallyhealth.sbt.versioning.GitBranchStateTwoReleases.<init>(GitState.scala:46)
[error] 	at com.rallyhealth.sbt.versioning.GitDriverImpl.<init>(GitDriver.scala:113)
[error] 	at com.rallyhealth.sbt.versioning.GitVersioningPlugin$.$anonfun$buildSettings$9(GitVersioningPlugin.scala:149)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant