getOwnerAndRepo: Support package.json String repository Property
mjhasbach opened this issue ยท 5 comments
mjhasbach commented
getOwnerAndRepo
only works if the repository
property is an object containing a string url
property. The repository
property may also be a string (see the repository property documentation).
Example:
{
...
"repository": "AlexKVal/release-script"
...
}
AlexKVal commented
This line https://github.com/AlexKVal/release-script/blob/master/src/release.js#L129 was made exactly to address that case, but I had screwed it here src#L223 ๐
Fixed by 9071d8d
@mjhasbach Thank you ๐
mjhasbach commented
Awesome! I'll test after the next version is released.
AlexKVal commented
mjhasbach commented
Works great, thanks!
AlexKVal commented
๐