From c1382079514219e3c486c7713e4138fad3dbadc6 Mon Sep 17 00:00:00 2001 From: hoogi91 Date: Mon, 12 Aug 2024 22:38:39 +0200 Subject: [PATCH] Update automatic generated release content --- .github/release.yml | 24 ++++++++++++++++++++++++ .github/workflows/release.yaml | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 .github/release.yml diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..d2dcb4d --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,24 @@ +changelog: + exclude: + labels: + - "dependencies" + authors: + - dependabot + - github-actions + categories: + - title: "⚠️ Breaking changes" + labels: + - "breaking" + - title: "🚀 New features" + labels: + - "feature" + - "enhancement" + - title: "📘 Documentation updates" + labels: + - "documentation" + - title: "🐛 Bug fixes" + labels: + - "bug" + - title: Other Changes + labels: + - "*" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 556d430..8d7487d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -37,7 +37,7 @@ jobs: version: ${{ steps.previoustag.outputs.tag }} - id: bump-version run: | - VERSION=${{ format('steps.semvers.outputs.{0}', inputs.type) }} + VERSION=${{ env[format('steps.semvers.outputs.{0}', inputs.type)] }} sed -i -E "s/'[0-9]+.[0-9]+.[0-9]+'/'$VERSION'/g" ext_emconf.php sed -i -E "s/[0-9]+.[0-9]+.[0-9]+/$VERSION/g" Documentation/Settings.cfg echo "version=$VERSION" >> "$GITHUB_OUTPUT"