Commit 5ad4b8b0 authored by David McFarland's avatar David McFarland
Browse files

dotnet: allow update.sh to be run from root

parent 5518ca20
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
#!/usr/bin/env nix-shell
#!nix-shell -I nixpkgs=../../../../. -i bash -p curl jq nix gnused
#!nix-shell -I nixpkgs=./. -i bash -p curl jq nix gnused
# shellcheck shell=bash

set -Eeuo pipefail

cd "$(dirname "${BASH_SOURCE[0]}")"

release () {
  local content="$1"
  local version="$2"