diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e404d6b3440..15de9d8a00a0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -110,7 +110,8 @@ jobs: gh release create ${{ steps.bump.outputs.tag }} --target ${{ steps.bump.outputs.sha }} --generate-notes --notes-start-tag $previous --latest else echo "Nightly release" - gh release create ${{ steps.bump.outputs.tag }} --target ${{ steps.bump.outputs.sha }} --generate-notes --prerelease + previous=$(gh release list --limit 1 | cut -f 1) + gh release create ${{ steps.bump.outputs.tag }} --target ${{ steps.bump.outputs.sha }} --generate-notes --notes-start-tag $previous --prerelease fi changelog: