Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
Just do the github release
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasheine committed Feb 14, 2018
1 parent cdfe781 commit 14e3b6e
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions gradle/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -116,27 +116,23 @@ task publishArtifact {
description = "Publish artifact for plugin version: $tag"
group = 'release'
project.afterEvaluate { dependsOn bintrayUpload }
mustRunAfter prepareRelease
//mustRunAfter prepareRelease
}

task publishGroovydoc {
description = "Deploy groovydoc for plugin version: $tag"
group = 'release'
dependsOn publishGhPages
mustRunAfter publishArtifact
//mustRunAfter publishArtifact
}

task publishRelease {
description = "Publish release for plugin version: $tag"
group = 'release'
if (project.hasProperty('dryRun') && project['dryRun'] == 'false') {
dependsOn prepareRelease, publishArtifact, publishGroovydoc, publishPlugins
doLast {
grgit.push {
tags = true
}
dependsOn prepareRelease, publishGroovydoc
doLast {
grgit.push {
tags = true
}
} else {
dependsOn publishArtifact
}
}

0 comments on commit 14e3b6e

Please sign in to comment.