Add set -eu

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-07-20 18:25:17 -07:00
parent e7bff0e91a
commit 8b6c0c1f15
No known key found for this signature in database
GPG Key ID: 555C902A34EC968F
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash
set -eu
#curl -L -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep "browser_download_url.*extended.*linux-amd64.tar.gz" | cut -d : -f 2,3 | sed 's/"//g' | xargs wget
wget https://github.com/gohugoio/hugo/releases/download/v0.119.0/hugo_0.119.0_Linux-64bit.tar.gz