uglow / conventional-changelog-angular-bitbucket

Angular conventional-changelog preset for BitBucket repositories
Other
12 stars 12 forks source link

Missing slashes on version and commit links in CHANGELOG.md #5

Closed cecilia-sanare closed 7 years ago

cecilia-sanare commented 7 years ago

Description

It seems that the commit and version links are missing a slash before compare and commits.

{
  "name": "super-cool-repo",
  "version": "2.0.0",
  "main": "super-cool-repo.js",
  "description": "A super cool repo that is totally legit",
  "author": "Super Cool Team",
  "keywords": [],
  "repository": "http://bitbucket.example.com/projects/SC/repos/super-cool-repo/",
  "scripts": {
    "semantic-release": "corp-semantic-release --changelogpreset angular-bitbucket && npm publish",
    "commitmsg": "validate-commit-msg"
  },
  "license": "MIT",
  "devDependencies": {
    "conventional-changelog-angular-bitbucket": "1.0.1",
    "corp-semantic-release": "3.2.0",
    "husky": "0.13.1",
    "validate-commit-msg": "2.11.1"
  }
}

Version Example

http://bitbucket.example.com/projects/SC/repos/super-cool-repocompare/diff?targetBranch=refs%2Ftags%2Fv1.0.0&sourceBranch=refs%2Ftags%2Fv2.0.0

Should Be...

http://bitbucket.example.com/projects/SC/repos/super-cool-repo/compare/diff?targetBranch=refs%2Ftags%2Fv1.0.0&sourceBranch=refs%2Ftags%2Fv2.0.0

Commit Example

http://bitbucket.example.com/projects/SC/repos/super-cool-repocommits/12345c

Should Be...

http://bitbucket.example.com/projects/SC/repos/super-cool-repo/commits/12345c

Bitbucket Info

Server or Cloud? Server Server Version: v4.6.2