mirror of https://github.com/sbt/sbt.git
Fix launcher publishing
This commit is contained in:
parent
0144a47ce6
commit
638c290e62
|
|
@ -9,7 +9,10 @@ object Release {
|
|||
lazy val deployLauncher = TaskKey[Unit]("deploy-launcher", "Upload the launcher to its traditional location for compatibility with existing scripts.")
|
||||
|
||||
def launcherSettings(launcher: TaskKey[File]): Seq[Setting[_]] = Seq(
|
||||
launcherRemotePath := s"${organization.value}/${moduleName.value}/${version.value}/${moduleName.value}.jar",
|
||||
launcherRemotePath := {
|
||||
val organizationPath = organization.value.replaceAll("""\.""", "/")
|
||||
s"$organizationPath/${moduleName.value}/${version.value}/${moduleName.value}.jar"
|
||||
},
|
||||
deployLauncher := {
|
||||
val repo = bintrayRepo.value
|
||||
repo.upload(bintrayPackage.value, version.value, launcherRemotePath.value, launcher.value, sLog.value)
|
||||
|
|
|
|||
Loading…
Reference in New Issue