-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend the GoReleaser to support SCSS
See #4908
- Loading branch information
Showing
1 changed file
with
47 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
builds: | ||
- main: main.go | ||
binary: hugo | ||
- binary: hugo | ||
ldflags: -s -w -X github.com/gohugoio/hugo/hugolib.BuildDate={{.Date}} | ||
env: | ||
- CGO_ENABLED=0 | ||
|
@@ -9,25 +8,63 @@ builds: | |
- linux | ||
- windows | ||
- freebsd | ||
- netbsd | ||
- openbsd | ||
- dragonfly | ||
# - netbsd | ||
# - openbsd | ||
# - dragonfly | ||
goarch: | ||
- amd64 | ||
- 386 | ||
- arm | ||
- arm64 | ||
# - 386 | ||
# - arm | ||
# - arm64 | ||
ignore: | ||
- goos: openbsd | ||
goarch: arm | ||
goarm: 6 | ||
# Extended hugo for Windows (SCSS/Sass support) | ||
- binary: hugo_extended | ||
ldflags: -s -w -X github.com/gohugoio/hugo/hugolib.BuildDate={{.Date}} | ||
env: | ||
- CGO_ENABLED=1 | ||
- CC=x86_64-w64-mingw32-gcc | ||
- CXX=x86_64-w64-mingw32-g++ | ||
flags: | ||
- -tags | ||
- extended | ||
goos: | ||
- windows | ||
goarch: | ||
- amd64 | ||
- binary: hugo_extended | ||
ldflags: -s -w -X github.com/gohugoio/hugo/hugolib.BuildDate={{.Date}} | ||
env: | ||
- CGO_ENABLED=1 | ||
- CC=o64-clang | ||
- CXX=o64-clang++ | ||
flags: | ||
- -tags | ||
- extended | ||
goos: | ||
- darwin | ||
goarch: | ||
- amd64 | ||
- binary: hugo_extended | ||
ldflags: -s -w -X github.com/gohugoio/hugo/hugolib.BuildDate={{.Date}} | ||
env: | ||
- CGO_ENABLED=1 | ||
flags: | ||
- -tags | ||
- extended | ||
goos: | ||
- linux | ||
goarch: | ||
- amd64 | ||
nfpm: | ||
formats: | ||
- deb | ||
vendor: "gohugo.io" | ||
homepage: "https://gohugo.io/" | ||
maintainer: "Bjørn Erik Pedersen <[email protected]>" | ||
description: "A Fast and Flexible Static Site Generator built with love in GoLang." | ||
description: "A Fast and Flexible Static Site Generator built with love in Go." | ||
license: "Apache 2.0" | ||
archive: | ||
format: tar.gz | ||
|
@@ -49,6 +86,4 @@ archive: | |
dragonfly: DragonFlyBSD | ||
files: | ||
- README.md | ||
- LICENSE | ||
release: | ||
draft: true | ||
- LICENSE |