Azure / azure-functions-core-tools

Command line tools for Azure Functions
MIT License
1.29k stars 426 forks source link

Install func tools - latest Azure Pipelines task broken URL #2279

Open jhthompson opened 3 years ago

jhthompson commented 3 years ago

With the latest release, the path of the zip file has changed from:

https://github.com/Azure/azure-functions-core-tools/releases/download/1.0.28/Azure.Functions.Cli.win-x86.1.0.28.zip

to

https://github.com/Azure/azure-functions-core-tools/releases/download/1.0.28/Azure.Functions.Cli.x86.zip

which breaks CI pipeline builds using the Install func tools - latest (preview) task.

sridharanprasanna commented 3 years ago

Almost Same here. Is the Zip file name change permanent? Can someone please confirm? We need to handle pipelines.

https://github.com/Azure/azure-functions-core-tools/releases/download/1.0.28/Azure.Functions.Cli.linux-x64.1.0.28.zip. to https://github.com/Azure/azure-functions-core-tools/releases/download/1.0.28/Azure.Functions.Cli.x64.zip

jhthompson commented 3 years ago

A workaround for the moment is to set the version to an older version (i.e. 2.7.2936)

ankitkumarr commented 3 years ago

The V1 Azure Functions Core Tools files were always named that way. We did a V1 release recently and that's why it was marked as latest by default. The V2 and V3 Core Tools still use the old naming convention. The core of the issue is really -- https://github.com/microsoft/azure-pipelines-tasks/issues/12342.

Summary: The DevOps pipeline depends on the github release artifacts, where it should depend on our public feed that we maintain for all channels.