Re-use existing tag if updating

This commit is contained in:
patrick brisbin 2023-05-26 11:55:23 -04:00
parent 4dac02b400
commit 4019a86bb8
No known key found for this signature in database
GPG key ID: 07BF97A312D7F34C

View file

@ -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