update version of dasel

This commit is contained in:
Matthew Saunders Brown 2024-06-03 10:18:05 -07:00
parent 409347af11
commit cc24bfeb4c

View File

@ -9,7 +9,7 @@ DEBIAN_FRONTEND=noninteractive apt-get -y install pip
pip install certbot-dns-powerdns pip install certbot-dns-powerdns
# Install dasel from binary. Used to convert json data to csv # Install dasel from binary. Used to convert json data to csv
wget --quiet --output-document=/usr/local/bin/dasel https://github.com/TomWright/dasel/releases/download/v2.5.0/dasel_linux_amd64 wget --quiet --output-document=/usr/local/bin/dasel https://github.com/TomWright/dasel/releases/download/v2.7.0/dasel_linux_amd64
chmod 755 /usr/local/bin/dasel chmod 755 /usr/local/bin/dasel
# one liner to automatically get latest version. could also be used to update existing install # one liner to automatically get latest version. could also be used to update existing install
# curl -sSLf "$(curl -sSLf https://api.github.com/repos/tomwright/dasel/releases/latest | grep browser_download_url | grep linux_amd64 | grep -v .gz | cut -d\" -f 4)" -L -o /usr/local/bin/dasel && chmod +x /usr/local/bin/dasel # curl -sSLf "$(curl -sSLf https://api.github.com/repos/tomwright/dasel/releases/latest | grep browser_download_url | grep linux_amd64 | grep -v .gz | cut -d\" -f 4)" -L -o /usr/local/bin/dasel && chmod +x /usr/local/bin/dasel