[ci-skip] Setup repo for api publishing

This commit is contained in:
jmp
2020-12-20 00:21:38 -08:00
parent 26b0736149
commit 2fd92fe308
7 changed files with 28 additions and 11 deletions

View File

@@ -32,8 +32,8 @@ internal fun Project.createPaperclipTask(
if (jenkins) paperclipCmd.add("-Dstyle.color=never")
ensureSuccess(cmd(*paperclipCmd.toTypedArray(), dir = paperclipDir, printOut = true))
val paperClip = paperclipDir.resolve("assembly/target/paperclip-${toothpick.minecraftVersion}.jar")
val destination = rootProjectDir.resolve("${toothpick.forkNameLowercase}-paperclip.jar")
val destination = rootProjectDir.resolve(toothpick.paperclipName)
paperClip.copyTo(destination, overwrite = true)
logger.lifecycle(">>> ${toothpick.forkNameLowercase}-paperclip.jar saved to root project directory")
logger.lifecycle(">>> ${toothpick.paperclipName} saved to root project directory")
}
}