diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml index 5029354..7b87db4 100644 --- a/.gitea/workflows/actions.yaml +++ b/.gitea/workflows/actions.yaml @@ -42,7 +42,7 @@ jobs: run: | NOTES=$(git log -1 --pretty=%B) echo "release_notes=${NOTES}" >> $GITHUB_ENV - echo ${NOTES} + echo ${{ env.release_notes }} - name: Deploy release if: startsWith(gitea.ref, 'refs/tags/') @@ -53,7 +53,7 @@ jobs: -d '{ "tag_name": "${{ gitea.ref }}", "target_commitish": "${{ gitea.sha }}", - "name": "$(git for-each-ref --format='%(contents)' refs/tags/v1.0.0 | grep .)", + "name": "$(git for-each-ref --format='%(contents)' ${{ gitea.ref }} | grep .)", "body": "Release description :\n ${{ env.release_notes }}", "draft": true, "prerelease": false