Create draft release in pipeline (#517)

Github sends out an email on creating/publishing a release (Watch -> Custom -> releases) and that email contains whatever is at that point in the release description. As the pipeline currently creates a release without a description the email is mostly empty. As the changelog is added manually later, lets only create a draft release which can be "published" after adding the changelog. The release email then contains a proper changelog entry.
pull/522/head
Jan Katins 2023-05-18 07:49:08 +07:00 committed by GitHub
parent 26bb4bb7ed
commit f4b930375e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

@ -22,6 +22,9 @@ jobs:
env:
# (required)
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Create a draft release so we can add the changelog before publishing it
# so the changelog is included in the release email
draft: true
upload-assets:
strategy: