Skip to content

Download caddy and unarchive it

Administrator requested to merge sg-hacking-hour/download-caddy into main

Created by: mrnugget

This removes the Caddy install script in bash from sg.config.yaml and replaces it with a built-in Go function that downloads the archive, extracts it and renames the binary.

Test plan

  • Tested this locally by running rm -rf .bin/caddy-2.4.5 && go run ./dev/sg run caddy

Merge request reports

Loading