Skip to content

Core Tools v2 Release Tasks

Ahmed ElSayed edited this page Sep 6, 2018 · 18 revisions
  • Upload Core Tools zip packages to CDN. This has to include:
Azure.Functions.Cli.linux-x64.{version}.zip
Azure.Functions.Cli.no-runtime.{version}.zip
Azure.Functions.Cli.osx-x64.{version}.zip
Azure.Functions.Cli.win-x64.{version}.zip
Azure.Functions.Cli.win-x86.{version}.zip
cd src/Azure.Functions.Cli/npm
npm publish --tag core
  • Update Homebrew
git clone [email protected]:Azure/homebrew-functions.git

And update the version and sha2 like in this commit

  • Update APT
# On a debian/ubuntu machine
# First time setup
git clone [email protected]:ahmelsayed/publish-script.git
cd publish-script
python3 -m venv publish_venv
source publish_venv/bin/activate
pip install wget

# Everytime after that, make sure to source your venv above
python driver.py {version}
cd artifacts
repoapi_client -config bionic.config.json -addfile azure-functions-core-tools_{version}.deb
repoapi_client -config artful.config.json -addfile azure-functions-core-tools_{version}.deb
  • Update Chocolatey
# On a Windows machine
# First time setup
git clone git@github.com:ahmelsayed/publish-script.git
cd publish-script
python3 -m venv publish_venv
publish_venv/Script/activate
pip install wget

# Everytime after that, make sure to source your venv above
python driver.py {version}
cd artifacts

choco push azure-functions-core-tools.{version}.nupkg -k {api key}