[skip ci] Add variable body to fix incorrect changelog

This commit is contained in:
Quinn Casey 2022-03-05 14:49:52 -08:00
parent c41b86eb68
commit 1d67c32351

View File

@ -297,9 +297,11 @@ jobs:
if [[ $GITHUB_REF == refs/tags/ngx-* ]]; then if [[ $GITHUB_REF == refs/tags/ngx-* ]]; then
echo ::set-output name=version::${GITHUB_REF#refs/tags/ngx-} echo ::set-output name=version::${GITHUB_REF#refs/tags/ngx-}
echo ::set-output name=prerelease::false echo ::set-output name=prerelease::false
echo ::set-output name=body::"For a complete list of changes, see the changelog at https://paperless-ngx.readthedocs.io/en/latest/changelog.html"
elif [[ $GITHUB_REF == refs/tags/beta-* ]]; then elif [[ $GITHUB_REF == refs/tags/beta-* ]]; then
echo ::set-output name=version::${GITHUB_REF#refs/tags/beta-} echo ::set-output name=version::${GITHUB_REF#refs/tags/beta-}
echo ::set-output name=prerelease::true echo ::set-output name=prerelease::true
echo ::set-output name=body::"For a complete list of changes, see the changelog at https://github.com/paperless-ngx/paperless-ngx/blob/beta/docs/changelog.rst"
fi fi
- -
name: Create release name: Create release
@ -312,8 +314,7 @@ jobs:
release_name: Paperless-ngx ${{ steps.get_version.outputs.version }} release_name: Paperless-ngx ${{ steps.get_version.outputs.version }}
draft: false draft: false
prerelease: ${{ steps.get_version.outputs.prerelease }} prerelease: ${{ steps.get_version.outputs.prerelease }}
body: | body: ${{ steps.get_version.outputs.body }}
For a complete list of changes, see the changelog at https://paperless-ngx.readthedocs.io/en/latest/changelog.html.
- -
name: Upload release archive name: Upload release archive
id: upload-release-asset id: upload-release-asset