Goreleaser fails in AzureDevOps Pipeline with ##[error]Unhandled: Unexpected identifier #3515
-
Hello, i try to run a simple pipeline script, but it always fails with the error mentioned above. My script:
The result from the pipeline:
My question: What is missing ? Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
maybe @dirien has an idea? |
Beta Was this translation helpful? Give feedback.
-
This is my goreleaser.yaml:
|
Beta Was this translation helpful? Give feedback.
-
Hi @heilingbrunner, With the latest version of the Extension it should work! You may need to delete and reinstall the extension in the marketplace. Just take a look. What was the issue? Extension in Azure DevOps are only running in production with Node v10.21.0 (see https://learn.microsoft.com/en-us/azure/devops/extend/develop/add-build-task?view=azure-devops#prerequisites) dependabot updated the Axios libary to > 1.x and this was not compatible anymore with node 10. Somehow, there is some caching going on so I could not see it in my tests. Only delete extension and reinstall showed the issue! Looking for your feedback @heilingbrunner And @caarlos0, we can close this if everything works fine! |
Beta Was this translation helpful? Give feedback.
Hi @heilingbrunner,
With the latest version of the Extension it should work! You may need to delete and reinstall the extension in the marketplace. Just take a look.
What was the issue?
Extension in Azure DevOps are only running in production with Node v10.21.0 (see https://learn.microsoft.com/en-us/azure/devops/extend/develop/add-build-task?view=azure-devops#prerequisites)
dependabot updated the Axios libary to > 1.x and this was not compatible anymore with node 10.
Somehow, there is some caching going on so I could not see it in my tests. Only delete extension and reinstall showed the issue!
Looking for your feedback @heilingbrunner
And @caarlos0, we can close this if everything works …