[7.0] d478c23b2 Follow redirects when downloading dist

Martin Blix Grydeland martin at varnish-software.com
Thu Aug 4 13:34:05 UTC 2022


commit d478c23b241a7cbfc8fe76eb6221599e96b9d010
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date:   Thu Aug 4 15:33:26 2022 +0200

    Follow redirects when downloading dist

diff --git a/.circleci/config.yml b/.circleci/config.yml
index f6d0cbc91..796e0c23f 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -49,7 +49,7 @@ jobs:
             - run:
                 name: Download the dist tarball
                 command: |
-                  curl -s << pipeline.parameters.dist-url >> -o varnish-dist.tar.gz
+                  curl -Ls '<< pipeline.parameters.dist-url >>' -o varnish-dist.tar.gz
             - when:
                 condition: << pipeline.parameters.dist-url-sha256 >>
                 steps:


More information about the varnish-commit mailing list