Unverified Commit 8ffaccd2 authored by Austin Horstman's avatar Austin Horstman
Browse files

bicep: fix update script deps

Treewide ignored the update script.
parent f418dd04
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)"