diff --git a/misc/vaultwarden-update.sh b/misc/vaultwarden-update.sh index 25bc07ca..60130d3c 100644 --- a/misc/vaultwarden-update.sh +++ b/misc/vaultwarden-update.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +set -e VAULT=$(curl -s https://api.github.com/repos/dani-garcia/vaultwarden/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')