Skip to content

Commit

Permalink
GH Actions: improve the draft release creation
Browse files Browse the repository at this point in the history
Follow up on PR 159

This fixes the following warning:
```
Warning: Unexpected input(s) 'release_name', valid inputs are ['body', 'body_path', 'name', 'tag_name', 'draft', 'prerelease', 'files', 'fail_on_unmatched_files', 'repository', 'token', 'target_commitish', 'discussion_category_name', 'generate_release_notes', 'append_body', 'make_latest']
```

And should make sure the tag and the release name don't contain the `refs/heads/` part of the tag reference.
  • Loading branch information
jrfnl committed Mar 27, 2024
1 parent 03bd781 commit 5efd237
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ jobs:
- name: Draft Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
tag_name: ${{ github.ref_name }}
name: Release ${{ github.ref_name }}
draft: true
prerelease: false
make_latest: true
Expand Down

0 comments on commit 5efd237

Please sign in to comment.