You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When runnint semantic-release, I generate a CHANGELOD.md with @semantic-release/release-notes-generator and @semantic-release/changelog. The problem is that in the generated notes has the following commit URL format:
Unfortunately it is a non-working link. Is there a way to somehow tell semantic-release to use https://dev.azure.com/org/project/_git/repo/commit/commitId?refName=refs/heads/develop
I am unsure about the refName bit, it is needed so the PR is shown:
(With refName in the url)
(Without refName in the url)
What I have tried is to set repositoryUrl in my .releaserc and repository in my package.json to https://dev.azure.com/org/project/_git/repo, but now I am getting Authentication failed.
I also tried setting host to https://dev.azure.com/org/project/_git/repo in https://github.com/semantic-release/release-notes-generator, but this produced the following links: https://dev.azure.com/org/project/_git/repo/v3/org/project/repo/commit/commitId (notice the duplicates in the url)
I still would like to use ssh, only to produce the release notes with https links. Is it possible?
The text was updated successfully, but these errors were encountered:
balazsorban44
changed the title
Repository URL for Azure DevOps
Repository URL for Azure DevOps in release notes
Apr 22, 2020
My repo is on Azure Repos, and the
git remote -v
command gives the following:When runnint
semantic-release
, I generate aCHANGELOD.md
with@semantic-release/release-notes-generator
and@semantic-release/changelog
. The problem is that in the generated notes has the following commit URL format:https://vs-ssh.visualstudio.com/v3/org/project/repo/commit/commitId
Unfortunately it is a non-working link. Is there a way to somehow tell
semantic-release
to usehttps://dev.azure.com/org/project/_git/repo/commit/commitId?refName=refs/heads/develop
I am unsure about the refName bit, it is needed so the PR is shown:
(With refName in the url)
(Without refName in the url)
What I have tried is to set
repositoryUrl
in my.releaserc
andrepository
in mypackage.json
tohttps://dev.azure.com/org/project/_git/repo
, but now I am gettingAuthentication failed
.I also tried setting
host
tohttps://dev.azure.com/org/project/_git/repo
inhttps://github.com/semantic-release/release-notes-generator
, but this produced the following links:https://dev.azure.com/org/project/_git/repo/v3/org/project/repo/commit/commitId
(notice the duplicates in the url)I still would like to use ssh, only to produce the release notes with https links. Is it possible?
The text was updated successfully, but these errors were encountered: