Skip to content

Commit

Permalink
fix(release_notes): ensure tag prefix is included
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Aug 1, 2024
1 parent 874be46 commit a898d58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion action/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def main() -> dict:
# generate release notes
if push_event_details['publish_release']:
release_body = generate_release_body(
tag_name=release_tag,
tag_name=f"{os.getenv('INPUT_TAG_PREFIX', 'v')}{release_tag}",
target_commitish=push_event_details["release_commit"],
)
else:
Expand Down
2 changes: 1 addition & 1 deletion tests/data/expected_release_notes_sample_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
* [@cathyjf](https://github.com/cathyjf) made their first contribution in [#2786](https://github.com/LizardByte/Sunshine/pull/2786)
* [@cfalas](https://github.com/cfalas) made their first contribution in [#2841](https://github.com/LizardByte/Sunshine/pull/2841)

**Full Changelog**: https://github.com/LizardByte/Sunshine/compare/v0.23.1...2024.713.195308
**Full Changelog**: https://github.com/LizardByte/Sunshine/compare/v0.23.1...v2024.713.195308


---
Expand Down
2 changes: 1 addition & 1 deletion tests/data/provided_release_notes_sample_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,4 @@
* @cathyjf made their first contribution in https://github.com/LizardByte/Sunshine/pull/2786
* @cfalas made their first contribution in https://github.com/LizardByte/Sunshine/pull/2841

**Full Changelog**: https://github.com/LizardByte/Sunshine/compare/v0.23.1...2024.713.195308
**Full Changelog**: https://github.com/LizardByte/Sunshine/compare/v0.23.1...v2024.713.195308

0 comments on commit a898d58

Please sign in to comment.