Skip to content

Commit

Permalink
Remove github release plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Legion2 committed Mar 25, 2024
1 parent 70d2a16 commit 4baaf0c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
1 change: 0 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ jobs:
releaseVersion=${{ steps.tagName.outputs.tag }}
ossrhUsername=${{ secrets.OSSRH_USERNAME }}
ossrhPassword=${{ secrets.OSSRH_PASSWORD }}
github.token=${{ secrets.GITHUB_TOKEN }}
16 changes: 0 additions & 16 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ plugins {
id("org.jetbrains.dokka") version "1.9.20"

id("org.jmailen.kotlinter") version "4.3.0"
id("com.github.breadmoirai.github-release") version "2.2.12"
}


Expand Down Expand Up @@ -202,20 +201,6 @@ tasks.withType<Sign>().configureEach {
// RELEASING
//

githubRelease {
owner("Legion2")
repo(name)
tagName("v$releaseVersion")
targetCommitish("main")
releaseName("🎉 $releaseVersion Release")
draft(true)
prerelease(!releaseVersion.matches("""^\d+\.\d+\.\d+$""".toRegex()))
releaseAssets(
files("$buildDir/libs/${name}-${releaseVersion}*.jar")
)
overwrite(true)
token(project.findProperty("github.token") as String? ?: System.getenv("GITHUB_TOKEN"))
}

tasks {

Expand All @@ -228,7 +213,6 @@ tasks {
register("publishRelease") {
dependsOn(
"publishMavenRelease",
"githubRelease"
)
}

Expand Down

0 comments on commit 4baaf0c

Please sign in to comment.