]> git.maquefel.me Git - brevno-suite/hugo/commit
Build without the deploy feature by default
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 30 Oct 2024 08:29:38 +0000 (09:29 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 30 Oct 2024 10:46:40 +0000 (11:46 +0100)
commit89bd025ebfd2c559039826641702941fc35a7fdb
tree96b457737db99ffd1a27d502798257f0e7d79db6
parent62567d38205a61134a6822d37a534520772419f1
Build without the deploy feature by default

Build tags setup changed to:

* !nodeploy => withdeploy
* nodeploy => !withdeploy

Also move the deploy feature out into its own release archives.

See #12994 for the primary motivation for this change. But this also greatly reduces the number of dependencies in Hugo when you don't need this feature and cuts the binary size greatly.

Fixes #12994
17 files changed:
.github/workflows/test.yml
.gitignore
Dockerfile
commands/deploy.go
commands/deploy_off.go
deploy/cloudfront.go
deploy/deploy.go
deploy/deploy_azure.go
deploy/deploy_test.go
deploy/deployconfig/deployConfig_test.go
deploy/google.go
hugoreleaser.toml
magefile.go
main_withdeploy_test.go [new file with mode: 0644]
testscripts/commands/deploy.txt [deleted file]
testscripts/commands/gen.txt
testscripts/withdeploy/deploy.txt [new file with mode: 0644]