aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-11-16 18:29:13 +0100
committerBjørn Erik Pedersen <[email protected]>2024-11-16 18:29:13 +0100
commitf7fc6ccd59e6ca1e784cba3d9133640b02fa6d20 (patch)
tree70d7f11b173ce6b4c83089be1cef409ca648a34f
parentd4de780edc7c6bf1261a424c5d008edbbeeef512 (diff)
downloadhugo-f7fc6ccd59e6ca1e784cba3d9133640b02fa6d20.tar.gz
hugo-f7fc6ccd59e6ca1e784cba3d9133640b02fa6d20.zip
release: Add missing withdeploy archive for arm64 Linux
Closes #13029
-rw-r--r--hugoreleaser.toml24
1 files changed, 22 insertions, 2 deletions
diff --git a/hugoreleaser.toml b/hugoreleaser.toml
index 2cb8e3665..c5b7910bd 100644
--- a/hugoreleaser.toml
+++ b/hugoreleaser.toml
@@ -155,6 +155,23 @@ archive_alias_replacements = { "linux-amd64.tar.gz" = "Linux-64bit.tar.gz" }
goarch = "arm64"
[[builds]]
+ path = "container2/linux/extended-withdeploy"
+
+ [builds.build_settings]
+ flags = ["-buildmode", "exe", "-tags", "extended,withdeploy"]
+
+ [[builds.os]]
+ goos = "linux"
+ [builds.os.build_settings]
+ env = [
+ "CGO_ENABLED=1",
+ "CC=aarch64-linux-gnu-gcc",
+ "CXX=aarch64-linux-gnu-g++",
+ ]
+ [[builds.os.archs]]
+ goarch = "arm64"
+
+[[builds]]
path = "container1/windows/regular"
[[builds.os]]
@@ -215,11 +232,14 @@ archive_alias_replacements = { "linux-amd64.tar.gz" = "Linux-64bit.tar.gz" }
[archives.archive_settings]
name_template = "{{ .Project }}_extended_withdeploy_{{ .Tag | trimPrefix `v` }}_{{ .Goos }}-{{ .Goarch }}"
[[archives]]
- # Only extended builds in container2.
- paths = ["builds/container2/**"]
+ paths = ["builds/container2/*/extended/**"]
[archives.archive_settings]
name_template = "{{ .Project }}_extended_{{ .Tag | trimPrefix `v` }}_{{ .Goos }}-{{ .Goarch }}"
[[archives]]
+ paths = ["builds/container2/*/extended-withdeploy/**"]
+ [archives.archive_settings]
+ name_template = "{{ .Project }}_extended_withdeploy_{{ .Tag | trimPrefix `v` }}_{{ .Goos }}-{{ .Goarch }}"
+[[archives]]
paths = ["builds/**/windows/regular/**"]
[archives.archive_settings.type]
format = "zip"