diff --git a/bin/modules/release/utils/extractors.js b/bin/modules/release/utils/extractors.js index 5f93040..ae6051a 100644 --- a/bin/modules/release/utils/extractors.js +++ b/bin/modules/release/utils/extractors.js @@ -1,3 +1,6 @@ exports.extractOwnerAndRepoFromGitRemoteURL = url => { - return url?.replace(/^git@github.com:|.git$/gims, '').trim() + return url + ?.replace(/^git@github.com:|.git$/gims, '') + ?.replace(/^https:\/\/github.com\/|.git$/gims, '') + ?.trim() }