From 4019a86bb84e21043bf716683614b03bdd53b64e Mon Sep 17 00:00:00 2001 From: patrick brisbin Date: Fri, 26 May 2023 11:55:23 -0400 Subject: [PATCH] Re-use existing tag if updating --- src/github.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/github.ts b/src/github.ts index 19b653d45..195527465 100644 --- a/src/github.ts +++ b/src/github.ts @@ -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