Closed TheAngryByrd closed 6 years ago
You can disable it bye setting /p:SourceLinkCreate=false
. That property is false
by default locally, but set to true
on CI servers like AppVeyor.
Awesome I'll give that a try. Sorry for not RTFMing hard enough.
I recently added
SourceLink.Create.CommandLine
to MiniScaffold but I'm running into an issue.dotnet pack
fails if there has been no git repo initialized or git remote set. Is there a way to disable sourcelink if there isn't a git repo yet or a mode to just throw warnings instead of failing?I know this is a weird use case.
https://github.com/TheAngryByrd/MiniScaffold/issues/36