Skip to content

Commit

Permalink
Actually fix github release
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyrofab committed Jan 26, 2022
1 parent 79f77f5 commit a1acb61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions release.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ 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() }

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")) {
Expand Down

0 comments on commit a1acb61

Please sign in to comment.