diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 87f2264..1fb1de9 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -43,7 +43,9 @@ jobs: run: | VERSION=$(echo "${GITHUB_REF#refs/*/}" | sed s/^v//) VERSION="$VERSION.0" + CHANGE_LOG=$(git tag -l '--format=%(contents)' ${{ github.ref_name }}) echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT + echo "CHANGE_LOG=${CHANGE_LOG}" >> $GITHUB_OUTPUT echo "APP_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_OUTPUT - name: Build run: | @@ -64,6 +66,9 @@ jobs: release_name: '${{ github.ref_name }}' overwrite: true file_glob: true + body: | + ${{steps.vars.outputs.CHANGE_LOG}} + ![download](https://img.shields.io/github/downloads/${{ github.repository }}/${{ github.ref_name }}/total?label=Downloads) - name: Publish manifest uses: svenstaro/upload-release-action@v2 with: