Skip to content

Commit

Permalink
.github/workflows: create release as draft
Browse files Browse the repository at this point in the history
With the updated release procedure, we'll add release notes manually
(see next commit). Thus, let the GitHub action create a draft release
which will then be published by a maintainer after adding the changelog.

Signed-off-by: Tobias Klauser <[email protected]>
  • Loading branch information
tklauser committed Jul 15, 2021
1 parent 9cc2210 commit 584e643
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:

- name: Generate the artifacts
run: make release

- name: Create Release
id: create_release
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e
Expand All @@ -30,10 +31,11 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
This is an automated release. See the Git history for changes.
draft: false
draft: true # turn this to false once release notes are automatically added
prerelease: false
body: |
Note for maintainers:: Please update the description with the actual release notes (see RELEASE.md for instructions).
- name: Upload the artifacts
id: upload-release-artifacts
uses: skx/github-action-publish-binaries@c881a3f8ffb80b684f367660178d38ceabc065c2
Expand Down

0 comments on commit 584e643

Please sign in to comment.