mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 21:00:16 +02:00
added gradle plugin for github releases
This commit is contained in:
parent
a745d3970e
commit
1efb600491
1 changed files with 11 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import com.github.breadmoirai.githubreleaseplugin.GithubReleaseTask
|
||||
import com.palantir.gradle.docker.DockerExtension
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
|
|
@ -13,6 +14,7 @@ plugins {
|
|||
id("io.spring.dependency-management") version "1.0.8.RELEASE"
|
||||
id("com.github.ben-manes.versions") version "0.22.0"
|
||||
id("com.palantir.docker") version "0.22.1"
|
||||
id("com.github.breadmoirai.github-release") version "2.2.9"
|
||||
jacoco
|
||||
}
|
||||
|
||||
|
|
@ -114,3 +116,12 @@ configure<DockerExtension> {
|
|||
dependsOn(tasks.getByName("clean"), tasks.getByName("test"))
|
||||
}
|
||||
|
||||
githubRelease {
|
||||
token(findProperty("github.token")?.toString())
|
||||
owner("gotson")
|
||||
repo("komga")
|
||||
releaseAssets(tasks.getByName("bootJar").outputs.files.singleFile)
|
||||
}
|
||||
tasks.withType<GithubReleaseTask> {
|
||||
dependsOn(tasks.getByName("bootJar"))
|
||||
}
|
||||
Loading…
Reference in a new issue