-
Notifications
You must be signed in to change notification settings - Fork 44
Description
I encountered an error while running the command $ npx semantic-release-cli setup on my project. During the process, I received the following error message: ERR! semantic-release Could not get repository url. Please create/add the repository. even while having a remote repository set up. After investigating further, I realized that the issue was related to the remote repository not being named ‘origin’.
Renaming the remote to ‘origin’ resolved the problem for me.
However, it would be beneficial if the semantic-release-cli tool could analyze other remotes as well, or if the error message could provide more specific information about the cause of the issue such as ERR! semantic-release Could not get repository URL. Please create/add the repository as the remote named ‘origin’.