diff --git a/make-aws-cloudfront-range.sh b/make-aws-cloudfront-range.sh index 6d89731..6b388e1 100755 --- a/make-aws-cloudfront-range.sh +++ b/make-aws-cloudfront-range.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -eu + # See: https://stackoverflow.com/a/69768584/5155484 curl -f -s -# https://ip-ranges.amazonaws.com/ip-ranges.json | jq -r '.prefixes[] | select(.service == "CLOUDFRONT") | .ip_prefix' | sort -V > cloudfront-ips.txt curl -f -s -# https://ip-ranges.amazonaws.com/ip-ranges.json | jq -r '.ipv6_prefixes[] | select(.service == "CLOUDFRONT") | .ipv6_prefix' | sort -V >> cloudfront-ips.txt diff --git a/make-binaryedge.sh b/make-binaryedge.sh index def7f18..17c9341 100755 --- a/make-binaryedge.sh +++ b/make-binaryedge.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -eu + REV="v-$(date --iso-8601=seconds)" cd ./digitalocean/ diff --git a/make-stretchoid.sh b/make-stretchoid.sh index 56afe68..1697c30 100755 --- a/make-stretchoid.sh +++ b/make-stretchoid.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -eu + REV="v-$(date --iso-8601=seconds)" cd ./digitalocean/