bicep: fix update script deps (#367554)

This commit is contained in:
Austin Horstman
2024-12-23 18:00:06 -06:00
committed by GitHub

View File

@@ -4,7 +4,7 @@
set -eo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"
deps_file="$(realpath "./deps.nix")"
deps_file="$(realpath "./deps.json")"
new_version="$(curl -s "https://api.github.com/repos/azure/bicep/releases?per_page=1" | jq -r '.[0].name')"
old_version="$(sed -nE 's/\s*version = "(.*)".*/\1/p' ./package.nix)"