Closes #11 different rangeUrl for unreleased version #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR resolves #11 by adding two new config options to allow for a different URL for the diff link for the
Unreleasedversion. This is needed if the branch workflow git-flow is used, where the unreleased link should compare the latest release tag or master to develop.unreleasedGitRefreplaces HEAD in the unreleased diff link. E.g. set this todevelopto get this:[Unreleased]: https://github.com/user/reponame/compare/v2.1.1...developrangeUrlUnreleasedallows for a completly different diff url. For BitBucket Server (not cloud) set this to something like this:https://bitbucket.mycompany.com/projects/projectKey/repos/reponame/compare/diff?targetBranch=refs%2Fheads%2Fmaster&sourceBranch=refs%2Fheads%2FdevelopOr to compare a version tag with develop:
https://bitbucket.mycompany.com/projects/projectKey/repos/reponame/compare/diff?targetBranch=refs%2Ftags%2F${start}&sourceBranch=refs%2Fheads%2Fdevelop