Skip to content

Commit

Permalink
release: Add missing withdeploy archive for arm64 Linux
Browse files Browse the repository at this point in the history
Closes #13029
  • Loading branch information
bep committed Nov 16, 2024
1 parent d4de780 commit f7fc6cc
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions hugoreleaser.toml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,23 @@ archive_alias_replacements = { "linux-amd64.tar.gz" = "Linux-64bit.tar.gz" }
[[builds.os.archs]]
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"

Expand Down Expand Up @@ -215,10 +232,13 @@ 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]
Expand Down

0 comments on commit f7fc6cc

Please sign in to comment.