fix: include tag_name in updateRelease
Problem
untagged release when a release includes assets upload.
Fix
When release with assets is needed, we update previously created draft release (in order to attach assets) by adding tag_name in github api call . tag_name option in not required based on git docs.
Details in https://github.com/semantic-release/github/issues/362
Must read comment: https://github.com/semantic-release/github/issues/362#issuecomment-830261465
NOTE
DRAFT PR since my skills aren't node based (python dev). Need time to understand/learn/explore the unit tests failures. Help is appreciated.
FYI: I work in @kickapoo's sister team, and while I'm not a node developer specifically, I am a javascript developer, and I'm happy to help out as best I can.
I've fixed the lint errors and the failing tests in two fixup-commits, intended to be squashed into the main commit before merge, but I will of course be happy to edit the commits, if you have any other preference.
Seem can not add you as reviewer so cc , @gr2m