Skip to content

Commit

Permalink
Re-use existing tag if updating
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed May 26, 2023
1 parent 4dac02b commit 4019a86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4019a86

Please sign in to comment.