diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9182b4a..4801ddc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }} diff --git a/gradle/release.gradle b/gradle/release.gradle index 1155312..0142d1c 100644 --- a/gradle/release.gradle +++ b/gradle/release.gradle @@ -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"