mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
2b0b3b8584
commit
94b46c36b4
1 changed files with 26 additions and 0 deletions
|
@ -185,6 +185,25 @@ archive_alias_replacements = { "linux-amd64.tar.gz" = "Linux-64bit.tar.gz" }
|
||||||
[[builds.os.archs]]
|
[[builds.os.archs]]
|
||||||
goarch = "amd64"
|
goarch = "amd64"
|
||||||
|
|
||||||
|
[[builds]]
|
||||||
|
path = "container1/windows/extended-withdeploy"
|
||||||
|
|
||||||
|
[builds.build_settings]
|
||||||
|
flags = ["-buildmode", "exe", "-tags", "extended,withdeploy"]
|
||||||
|
env = [
|
||||||
|
"CGO_ENABLED=1",
|
||||||
|
"CC=x86_64-w64-mingw32-gcc",
|
||||||
|
"CXX=x86_64-w64-mingw32-g++",
|
||||||
|
]
|
||||||
|
ldflags = "-s -w -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio -extldflags '-static'"
|
||||||
|
|
||||||
|
[[builds.os]]
|
||||||
|
goos = "windows"
|
||||||
|
[builds.os.build_settings]
|
||||||
|
binary = "hugo.exe"
|
||||||
|
[[builds.os.archs]]
|
||||||
|
goarch = "amd64"
|
||||||
|
|
||||||
[[archives]]
|
[[archives]]
|
||||||
paths = ["builds/container1/unix/regular/**"]
|
paths = ["builds/container1/unix/regular/**"]
|
||||||
[[archives]]
|
[[archives]]
|
||||||
|
@ -212,6 +231,13 @@ archive_alias_replacements = { "linux-amd64.tar.gz" = "Linux-64bit.tar.gz" }
|
||||||
[archives.archive_settings.type]
|
[archives.archive_settings.type]
|
||||||
format = "zip"
|
format = "zip"
|
||||||
extension = ".zip"
|
extension = ".zip"
|
||||||
|
[[archives]]
|
||||||
|
paths = ["builds/**/windows/extended-withdeploy/**"]
|
||||||
|
[archives.archive_settings]
|
||||||
|
name_template = "{{ .Project }}_extended_withdeploy_{{ .Tag | trimPrefix `v` }}_{{ .Goos }}-{{ .Goarch }}"
|
||||||
|
[archives.archive_settings.type]
|
||||||
|
format = "zip"
|
||||||
|
extension = ".zip"
|
||||||
[[archives]]
|
[[archives]]
|
||||||
paths = ["builds/**/regular/linux/{arm64,amd64}"]
|
paths = ["builds/**/regular/linux/{arm64,amd64}"]
|
||||||
[archives.archive_settings]
|
[archives.archive_settings]
|
||||||
|
|
Loading…
Reference in a new issue