aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddyhttp/reverseproxy/fastcgi/client_test.go
diff options
context:
space:
mode:
authorAdam Weinberger <[email protected]>2022-10-05 10:59:57 -0600
committerGitHub <[email protected]>2022-10-05 10:59:57 -0600
commite4fac1294f3fcedea5bc94668d56ec64e651bc98 (patch)
treecef89b5fdf8f68155afbe7ee17a282c4fd071301 /modules/caddyhttp/reverseproxy/fastcgi/client_test.go
parent2153a81ec85da99dcd33aa87ff0df5d286f00e9d (diff)
downloadcaddy-e4fac1294f3fcedea5bc94668d56ec64e651bc98.tar.gz
caddy-e4fac1294f3fcedea5bc94668d56ec64e651bc98.zip
core: Set version manually via CustomVersion (#5072)
* Allow version to be set manually When Caddy is built from a release tarball (as downloaded from GitHub), `caddy version` returns an empty string. This causes confusion for downstream packagers. With this commit, VersionString can be set with eg. go build (...) -ldflags '-X (...).VersionString=v1.2.3' Then the short form version will be "v1.2.3", and the full version string will begin with "v1.2.3 ". * Prefer embedded version, then CustomVersion * Prefer "unknown" for full version over empty Co-authored-by: Matthew Holt <[email protected]>
Diffstat (limited to 'modules/caddyhttp/reverseproxy/fastcgi/client_test.go')
0 files changed, 0 insertions, 0 deletions