diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b9b0622..4104dfa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -120,10 +120,10 @@ jobs: $changes = git log --pretty=reference --no-decorate $range - # If set, add a prefix to every commit message - # if ($linePrefix) { - # $changes = $changes -replace "^(.*)$", "$linePrefix`$1 \r\n" - # } + If set, add a prefix to every commit message + if ($linePrefix) { + $changes = $changes -replace "^(.*)$", "$linePrefix`$1" + } # Set outputs $EOF = (New-Guid).Guid @@ -190,8 +190,9 @@ jobs: tag_name: nightly name: 'FASTER Nightly Release v${{ env.VERSION }}' body: | - ## Changelog since release ${{ steps.get-changes.outputs.tag }} : + Changelog since release ${{ steps.get-changes.outputs.tag }} : + --- ${{ steps.get-changes.outputs.changes }} - --- + --- prerelease: true files: .\${{ env.ZIP_NAME}}${{ env.Runtime }}.zip \ No newline at end of file