[7.1] 3e22c7ab2 Follow redirects when downloading dist

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


commit 3e22c7ab28ed2bd756445a1e595c90ec82156293
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 5b7d4e41b..231618727 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