Closed nbigaouette closed 5 years ago
I think I forgot to add some TODO in this lines that need user manual action.
github:
# repositoryName: xoac/rust-azure-pipelines
gitHubConnection: PipelinesTemplates
# isPreRelease: true
repositoryName: xoac/rust-azure-pipelines
You need to change this to your data. I think you try release to my xoac/rust-azure-pipelines
repo.
The bug was found and fixed. See https://github.com/nbigaouette/pycors/pull/77#issuecomment-491200935 Thanks! Closing.
I want to move away from my custom release job to use this template instead.
Unfortunately I get a weird error in the Create release step:
See https://dev.azure.com/nbigaouette/pycors/_build/results?buildId=169 and the associated PR: https://github.com/nbigaouette/pycors/pull/77
Note that I have pushed a tag (v0.1.16-pre) pointing to f203eada65f47c23c5a5e8ad43b208f9fc32d4a0 (in the PR branch) to create the release which I think should still work (you've done the same in PR #13).
I'm not sure where the issue could come from: my repo? the template? azure?
This line here: https://github.com/microsoft/azure-pipelines-tasks/blob/b2608105c535e8cdf3f62d41425d18a83b70a006/Tasks/GitHubReleaseV0/operations/ChangeLog.ts#L52 is the one printing the
Fetching the initial commit...
string and the error seems to be thrown here: https://github.com/microsoft/azure-pipelines-tasks/blob/b2608105c535e8cdf3f62d41425d18a83b70a006/Tasks/GitHubReleaseV0/operations/ChangeLog.ts#L191How come azure cannot get my repo's first commit? The only search hit with the error string is this stack overflow question: https://stackoverflow.com/questions/54439519/how-to-create-github-release-with-azure-pipelines-yml which mentions using
tagSource: 'Git tag'
instead oftagSource: 'auto'
.Any clue?
Thanks a lot!