From 77a63faafa536b33ad18ba2c647552d384f4d409 Mon Sep 17 00:00:00 2001 From: Jimmy Byrd Date: Tue, 19 Nov 2024 09:28:17 -0500 Subject: [PATCH] Fixes to publish (#221) --- .github/workflows/publish.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 278e1a7..565196e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,11 +29,17 @@ jobs: env: BuildNet9: true IgnoreTests: true + - name: Get version from tag + id: tag_name + run: | + echo "current_version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT + shell: bash - name: Get Changelog Entry id: changelog_reader uses: mindsers/changelog-reader-action@v2 with: - version: ${{ github.ref }} + validation_level: warn + version: ${{ steps.tag_name.outputs.current_version }} path: ./CHANGELOG.md - name: Create Release id: create_release @@ -43,7 +49,7 @@ jobs: with: tag_name: ${{ github.ref }} release_name: ${{ github.ref }} - body: ${{ steps.changelog_reader.outputs.log_entry }} + body: ${{ steps.changelog_reader.outputs.changes }} draft: false prerelease: false - name: Upload binaries to release