From 8f897771f7e7f67e06657878f080e562a03dc9e0 Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Wed, 10 Apr 2024 10:38:38 +0200 Subject: [PATCH] Try with newer yashanand1910/standard-release-notes@v1.5.0 --- .github/workflows/release.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 614312c..5943c3c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,22 +15,17 @@ jobs: - name: Check out repository code uses: actions/checkout@v4 - - name: Get version from tag - id: tag-name - run: | - echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT - - name: Extract release notes from changelog id: extract-release-notes - uses: mindsers/changelog-reader-action@v2 + uses: yashanand1910/standard-release-notes@v1.5.0 with: - path: ./CHANGELOG.md - version: ${{ steps.tag-name.outputs.version }} + changelog_path: ./CHANGELOG.md + version: ${{ github.ref }} - name: Create Release uses: ncipollo/release-action@v1 with: body: | - ${{ steps.extract-release-notes.outputs.changes }} + ${{ steps.extract-release-notes.outputs.release_notes }} # Take a look at the [CHANGELOG](https://github.com/moodlehq/moodle-cs/blob/main/CHANGELOG.md) for details about other releases.