Skip to content

Commit

Permalink
Merge pull request #11 from shipkit/sf
Browse files Browse the repository at this point in the history
Enabled GitHub releases
  • Loading branch information
mockitoguy authored Jul 15, 2020
2 parents 0e780a8 + 39b9546 commit 27e9561
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ jobs:
run: ./gradlew build --scan --continue
- name: Perform release (tagging, changelog, deployment to plugins.gradle.org)
if: success() && github.event_name == 'push' && github.ref == 'refs/heads/master'
run: ./gradlew createTag publishPlugins testChangelog --scan
run: ./gradlew createTag publishPlugins githubRelease --scan
env:
# Gradle env variables docs: https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_environment_variables
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
GH_WRITE_TOKEN: ${{ secrets.GH_WRITE_TOKEN }}
7 changes: 0 additions & 7 deletions gradle/release.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,6 @@ tasks.named("generateChangelog") {
repository = "shipkit/shipkit-changelog"
}

task testChangelog {
dependsOn tasks.named("generateChangelog")
doLast {
println " *** Changelog: ***\n" + file("$buildDir/changelog.md").text
}
}

tasks.named("githubRelease") {
dependsOn tasks.named("generateChangelog")
repository = "shipkit/shipkit-changelog"
Expand Down

0 comments on commit 27e9561

Please sign in to comment.