AlexKVal/release-script

getOwnerAndRepo: Support package.json String repository Property

mjhasbach opened this issue ยท 5 comments

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"
...
}

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 ๐Ÿ’

Awesome! I'll test after the next version is released.

Works great, thanks!

๐Ÿ˜Š