NuKeeperDotNet / NuKeeper

Automagically update nuget packages in .NET projects
Apache License 2.0
541 stars 127 forks source link

"branchnametemplate" Argument not working on DevOps Extension #1092

Closed schamal2205 closed 3 years ago

schamal2205 commented 3 years ago

💬 Questions and Help

Hi,

do you have any idea, why the "branchnametemplate" Argument is not available via Azure Devops. We are getting the following Error: image

I would assume that the old Argument "branchnameprefix" will work.

Thanks and BR, Bene

CrispyDrone commented 3 years ago

There is a separate repository for the Azure Devops Extension: https://github.com/NuKeeperDotNet/NuKeeper-AzureDevops-extension

Which version does the task use? There is an open issue there about the extension using an older version by default https://github.com/NuKeeperDotNet/NuKeeper-AzureDevops-extension/issues/62

MartinDemberger commented 3 years ago

The reason might be documented in https://github.com/NuKeeperDotNet/NuKeeper-AzureDevops-extension/issues/62

jameskramer commented 3 years ago

Somewhat related. I have tried many combinations to get the --branchnametemaplate working but no success. Am I not using this correctly? --branchnametemplate "ASCST-82/{Default}". This is in Azure Devops, I am forcing version 0.34.0 to be used. Apologies if this is the wrong thread, this is my first time posting to Github... image

CrispyDrone commented 3 years ago

@jameskramer ASCST-82/{Default} should be valid. ASCST-36-{Default} isn't for some reason; the regex that's used for validating a git branch name doesn't make much sense to me.

jameskramer commented 3 years ago

@CrispyDrone I agree. The regex looks rather complicated. And like you said, it does not seem to work correctly.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.