Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2c80058

Browse files
jrfnlgrogy
authored andcommitted
GH Actions: improve the draft release creation
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.
1 parent 87724a1 commit 2c80058

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ jobs:
120120
- name: Draft Release
121121
uses: softprops/action-gh-release@v2
122122
with:
123-
tag_name: ${{ github.ref }}
124-
release_name: Release ${{ github.ref }}
123+
tag_name: ${{ github.ref_name }}
124+
name: Release ${{ github.ref_name }}
125125
draft: true
126126
prerelease: false
127127
make_latest: true

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /