From a1acb61d30a77a4fc312421284534cbe6f10fdab Mon Sep 17 00:00:00 2001 From: Pyrofab Date: Wed, 26 Jan 2022 14:25:22 +0100 Subject: [PATCH] Actually fix github release --- gradle.properties | 2 +- release.gradle | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index f5e8523b..5bc47e04 100644 --- a/gradle.properties +++ b/gradle.properties @@ -20,7 +20,7 @@ modrinth_versions = 1.18; 1.18.1 changelog_url = https://github.com/OnyxStudios/Cardinal-Components-API/blob release_type = release display_name = Cardinal-Components-API -owner = OnyxStudios +owners = OnyxStudios #api_package = nerdhub.cardinal.components.api # Licensing diff --git a/release.gradle b/release.gradle index 90bbc0c9..e3dfa46e 100644 --- a/release.gradle +++ b/release.gradle @@ -27,7 +27,7 @@ task checkGitStatus() { githubRelease { token "${findProperty('github_releases_token')}" // default repo: name of the project - owner = "${project.owner}" + owner = project.owners tagName = project.version targetCommitish = { grgit.branch.current().name } body = { project.getChangelogText() } @@ -35,7 +35,7 @@ githubRelease { FilenameFilter filter = { dir, filename -> filename.contains(project.version) && !filename.contains('-dev.jar') } releaseAssets = { jar.destinationDirectory.asFile.get().listFiles filter } } -tasks.githubRelease.dependsOn(checkGitStatus) +//tasks.githubRelease.dependsOn(checkGitStatus) artifactory { if (project.hasProperty("artifactory_user")) {