mirror of
https://github.com/sbt/sbt.git
synced 2026-09-08 03:09:49 +02:00
Previous test case only seemed to reproduce the problem due to resolver ordering. Closes #805 for now.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
addSbtPlugin("org.example" % "def" % "latest.integration")
|
||||
|
||||
resolvers ++= {
|
||||
def r(tpe: String) = Resolver.file(s"local-$tpe", baseDirectory.value / ".." / tpe)(Resolver.ivyStylePatterns)
|
||||
r("stable") :: r("snapshot") :: Nil
|
||||
def r(tpe: String) = Resolver.file(s"local-$tpe", baseDirectory.value / ".." / tpe)(Resolver.ivyStylePatterns)
|
||||
r("snapshot") :: r("stable") :: Nil
|
||||
}
|
||||
|
||||
+2
@@ -5,6 +5,7 @@ $ mkdir stable snapshot
|
||||
$ copy-file changes/def.sbt def.sbt
|
||||
$ touch make-stable
|
||||
> reload
|
||||
> show stable
|
||||
> publish
|
||||
|
||||
# resolve that release for use as a plugin
|
||||
@@ -27,6 +28,7 @@ $ copy-file changes/def.sbt def.sbt
|
||||
$ copy-file changes/DefPlugin.scala DefPlugin.scala
|
||||
|
||||
> reload
|
||||
> show stable
|
||||
> publish
|
||||
|
||||
# resolve the latest.integration release, which should
|
||||
Reference in New Issue
Block a user