phly / keep-a-changelog

Tools for manipulating CHANGELOG.md files in Keep A Changelog format, including tagging and releasing.
https://phly.github.io/keep-a-changelog/
BSD 2-Clause "Simplified" License
181 stars 21 forks source link

fix: ensure tag name is used when pushing release to provider #61

Closed weierophinney closed 4 years ago

weierophinney commented 4 years ago

The second argument to ProviderInterface::createRelease is $tagName, but I was incorrectly using the version. If the tag name option is not present, this will default to the version, but otherwise, the provider will not be able to find the tag to associate with the release.