[CI] Use changelog-generator for release-notes

Remove temp workflow for debugging
This commit is contained in:
Chris Bono
2023-11-22 15:04:17 -06:00
parent b05fa707f4
commit d44aa2a1ad

View File

@@ -1,31 +0,0 @@
name: Prepare Release Notes
on:
workflow_dispatch:
inputs:
releaseVersion:
description: 'Version to create release notes for'
required: true
type: string
jobs:
prepare_release_notes:
if: github.repository == 'spring-projects/spring-pulsar'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: spring-io/spring-gradle-build-action@v2
- name: Install tooling for Github release
run: |
curl -sSL -O https://github.com/spring-io/github-changelog-generator/releases/download/v0.0.8/github-changelog-generator.jar
- name: Create Github release
env:
VERSION: ${{ inputs.releaseVersion }}
RELEASE_NOTES_FILE: ${{runner.temp}}/release_notes.md5
GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
run: |
java -jar github-changelog-generator.jar \
--spring.config.location=.github/changelog-generator.yml \
$VERSION $RELEASE_NOTES_FILE
cat $RELEASE_NOTES_FILE