mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-05-10 10:44:19 +00:00
Re-use existing tag if updating
This commit is contained in:
parent
4dac02b400
commit
4019a86bb8
1 changed files with 2 additions and 2 deletions
|
@ -235,8 +235,8 @@ export const release = async (
|
|||
target_commitish = existingRelease.target_commitish;
|
||||
}
|
||||
|
||||
const tag_name = tag;
|
||||
const name = config.input_name || existingRelease.name || tag;
|
||||
const tag_name = config.input_tag_name || existingRelease.tag_name;
|
||||
const name = config.input_name || existingRelease.name || tag_name;
|
||||
// revisit: support a new body-concat-strategy input for accumulating
|
||||
// body parts as a release gets updated. some users will likely want this while
|
||||
// others won't previously this was duplicating content for most which
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue