github.com/fighterlyt/hugo@v0.47.1/goreleaser-extended.yml (about)

     1  project_name: hugo_extended
     2  builds:
     3  - binary: hugo
     4    ldflags:
     5      - -s -w -X github.com/gohugoio/hugo/hugolib.BuildDate={{.Date}}
     6      - "-extldflags '-static'"
     7    env:
     8      - CGO_ENABLED=1
     9      - CC=x86_64-w64-mingw32-gcc
    10      - CXX=x86_64-w64-mingw32-g++
    11    flags:
    12      - -tags
    13      - extended
    14    goos:
    15      - windows
    16    goarch:
    17      - amd64
    18  - binary: hugo
    19    ldflags: -s -w -X github.com/gohugoio/hugo/hugolib.BuildDate={{.Date}}
    20    env:
    21      - CGO_ENABLED=1
    22      - CC=o64-clang
    23      - CXX=o64-clang++
    24    flags:
    25      - -tags
    26      - extended
    27    goos:
    28      - darwin
    29    goarch:
    30      - amd64
    31  - binary: hugo
    32    ldflags: -s -w -X github.com/gohugoio/hugo/hugolib.BuildDate={{.Date}}
    33    env:
    34      - CGO_ENABLED=1
    35    flags:
    36      - -tags
    37      - extended
    38    goos:
    39      - linux
    40    goarch:
    41      - amd64
    42  nfpm:
    43    formats:
    44      - deb
    45    vendor: "gohugo.io"
    46    homepage: "https://gohugo.io/"
    47    maintainer: "Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>"
    48    description: "A Fast and Flexible Static Site Generator built with love in GoLang."
    49    license: "Apache 2.0"
    50    name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
    51    replacements:
    52      amd64: 64bit
    53      386: 32bit
    54      arm: ARM
    55      arm64: ARM64
    56      darwin: macOS
    57      linux: Linux
    58      windows: Windows
    59      openbsd: OpenBSD
    60      netbsd: NetBSD
    61      freebsd: FreeBSD
    62      dragonfly: DragonFlyBSD
    63  archive:
    64    format: tar.gz
    65    format_overrides:
    66      - goos: windows
    67        format: zip
    68    name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
    69    replacements:
    70      amd64: 64bit
    71      386: 32bit
    72      arm: ARM
    73      arm64: ARM64
    74      darwin: macOS
    75      linux: Linux
    76      windows: Windows
    77      openbsd: OpenBSD
    78      netbsd: NetBSD
    79      freebsd: FreeBSD
    80      dragonfly: DragonFlyBSD
    81    files:
    82      - README.md
    83      - LICENSE
    84  release:
    85    draft: true