diff --git a/settings.sh b/settings.sh index 27e91de..ab3e9bb 100644 --- a/settings.sh +++ b/settings.sh @@ -1,4 +1,4 @@ -URL="https://pop-iso.sfo2.cdn.digitaloceanspaces.com/20.04/amd64/intel/5/pop-os_20.04_amd64_intel_5.iso" +URL="https://iso.pop-os.org/20.04/amd64/intel/REPLACE_VERSION/pop-os_20.04_amd64_intel_REPLACE_VERSION.iso" TYPE=file CONTENTS="\ casper_pop-os_20.04_*/filesystem.squashfs|filesystem.squashfs diff --git a/version.sh b/version.sh index b0205de..1497391 100755 --- a/version.sh +++ b/version.sh @@ -1,4 +1,4 @@ #!/bin/bash set -e -VERSION="5" +VERSION=$(curl https://api.pop-os.org/builds/20.04/intel 2> /dev/null | jq -r .build) echo "${VERSION}"