diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..b30b65b --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,20 @@ +changelog: + exclude: + labels: + - chore + - github_actions + categories: + - title: Breaking Changes 🛠 + labels: [ breaking-change ] + + - title: Exciting New Features 🎉 + labels: [ enhancement ] + + - title: Bug Fixes 🎉 + labels: [ bug ] + + - title: Dependency Updates + labels: [ dependencies ] + + - title: Less Exciting Things + labels: [ "*" ] \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9e3cf49..30eb336 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,3 +33,15 @@ jobs: run: echo -e "gradle.publish.key=$GRADLE_PUBLISH_KEY\ngradle.publish.secret=$GRADLE_PUBLISH_SECRET" > gradle.properties - name: Build with Gradle run: ./gradlew build -x test publishPlugins + + create-gh-release: + needs: [publish] + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v3.0.0 + - name: Create GitHut Release + uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v0.1.15 + with: + generate_release_notes: true