mirror of https://github.com/sbt/sbt.git
Check snapshot versioning metadata for snapshot dependencies only
This commit is contained in:
parent
62720f94e0
commit
1ac8a782a9
|
|
@ -219,7 +219,7 @@ case class MavenRepository(
|
|||
}
|
||||
|
||||
F.bind(findVersioning(module, version, None, fetch).run) { eitherProj =>
|
||||
if (eitherProj.isLeft)
|
||||
if (eitherProj.isLeft && version.contains("-SNAPSHOT"))
|
||||
F.map(withSnapshotVersioning.run)(eitherProj0 =>
|
||||
if (eitherProj0.isLeft)
|
||||
eitherProj
|
||||
|
|
|
|||
Loading…
Reference in New Issue