conventional-changelog / standard-version

:trophy: Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org
ISC License
7.69k stars 794 forks source link

Wrong commit link when using with submodule #354

Open NateScarlet opened 5 years ago

NateScarlet commented 5 years ago

Current version will always use parent repo's url

Reproduce repo: https://github.com/NateScarlet/issue-repro/tree/standard-version-1

DJCrossman commented 6 months ago

For anyone who comes across this issue, you need to add your repository details to the submodule's package.json:

{
  ...
  "repository": {
    "type": "git",
    "url": "https://github.com/conventional-changelog/standard-version.git"
  },
  ...
}