How do you specify the version of azure-functions-core-tools?

Viewed 968

I have an AzureDevOps pipeline which was running fine a few weeks ago. When I tried to run it again, I got an error which apparently is caused by running the latest azure-functions-core-tools. It was suggested to downgrade it but I couldn't find how to do it on Azure CLI.

I tried adding the version to the code below but it didn't work.

sudo apt-get install azure-functions-core-tools=(version I want to use)
1 Answers

Firstly use apt-cache showpkg <package-name> to list available versions.

Then use sudo aptitude install <azure-functions-core-tools>=<version> to install the version.

Related