hugo-vsts-extension
hugo-vsts-extension copied to clipboard
[Error] Step task reference is invalid
Hey!
I'm trying to use the latest version of the task, but I'm getting the below error:
Step task reference is invalid. The task name HugoTask is ambiguous. Specify one of the following identifiers to resolve the ambiguity: giuliovdev.hugo-extension.hugo-build-task.HugoTask, giuliovdev.hugo-extension.hugo-build-task-v2.HugoTask
- task: HugoTask@2
inputs:
source: './'
destination: '$(Build.ArtifactStagingDirectory)'
extendedVersion: true
baseURL: ...
Could you help me with that? I tried to run that task on Ubuntu-latest and VS2017-Win2016 machines. Many thanks in advance!
same here :(
After some research in azure devops forums i found out you can reference the task by ID:
- task: "5F838DA4-D713-497A-BD7A-4987F25E3C2F@1"
- task: "528c73d9-c552-4e2d-a26f-fb5c91c32554@2"
Hope this helps!
Nice to hear, that tasks can be referenced by ID, a temporary workaround for sure... But I believe that a permanent solution will be better :) Anyway, thanks @MatthiasKammerlohr!
Sorry, I clearly missed some test case. I have another update in queue and hopefully can release it soon.