Fix release script

This commit is contained in:
Moritz Halbritter
2024-10-24 09:57:37 +02:00
parent 83a3212e98
commit 9858b4b367
4 changed files with 32 additions and 5 deletions

View File

@@ -7,13 +7,16 @@ inputs:
token:
description: 'Token to use for authentication with GitHub'
required: true
commercial:
description: 'Whether to generate the changelog for the commercial release'
required: true
runs:
using: composite
steps:
- name: Generate Changelog
uses: spring-io/github-changelog-generator@185319ad7eaa75b0e8e72e4b6db19c8b2cb8c4c1 #v0.0.11
with:
config-file: .github/actions/create-github-release/changelog-generator.yml
config-file: ${{ inputs.commercial && '.github/actions/create-github-release/changelog-generator-commercial.yml' || '.github/actions/create-github-release/changelog-generator-oss.yml' }}
milestone: ${{ inputs.milestone }}
token: ${{ inputs.token }}
- name: Create GitHub Release