From 7b8f66107914a3d4616520da216cdc0044d1af27 Mon Sep 17 00:00:00 2001 From: Petra Baranski Date: Mon, 21 Apr 2025 13:11:53 +0200 Subject: [PATCH] ci: add more output to the release workflow --- .github/workflows/create-release-package.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-release-package.yml b/.github/workflows/create-release-package.yml index f445e07..5cb7ea7 100644 --- a/.github/workflows/create-release-package.yml +++ b/.github/workflows/create-release-package.yml @@ -29,10 +29,12 @@ jobs: id: tag-message run: | TAG_NAME=${GITHUB_REF#refs/tags/} - TAG_MESSAGE=$(git tag -l --format='%(contents)' $TAG_NAME) + echo "TAG_NAME: $TAG_NAME" + TAG_MESSAGE=$(git tag -l --format='%(contents)' "$TAG_NAME") echo "message<> $GITHUB_OUTPUT echo "$TAG_MESSAGE" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT + echo "TAG_MESSAGE: $TAG_MESSAGE" - name: create release uses: svenstaro/upload-release-action@v2 @@ -40,7 +42,7 @@ jobs: repo_token: ${{ secrets.GITHUB_TOKEN }} file: build/maddy-src.zip tag: ${{ github.ref }} - release_name: ${{ github.ref }} + release_name: ${{ github.ref_name }} body: | ${{ steps.tag-message.outputs.message }}