github.com/nektos/act@v0.2.83/.goreleaser.yml (about)

     1  version: 2
     2  before:
     3    hooks:
     4      - go mod tidy
     5  builds:
     6    - env:
     7        - CGO_ENABLED=0
     8      goos:
     9        - darwin
    10        - linux
    11        - windows
    12      goarch:
    13        - amd64
    14        - '386'
    15        - arm64
    16        - arm
    17        - riscv64
    18      goarm:
    19        - '6'
    20        - '7'
    21      ignore:
    22        - goos: windows
    23          goarm: '6'
    24  checksum:
    25    name_template: 'checksums.txt'
    26  archives:
    27    - name_template: >-
    28        {{ .ProjectName }}_
    29        {{- title .Os }}_
    30        {{- if eq .Arch "amd64" }}x86_64
    31        {{- else if eq .Arch "386" }}i386
    32        {{- else }}{{ .Arch }}{{ end }}
    33        {{- if .Arm }}v{{ .Arm }}{{ end }}
    34      format_overrides:
    35        - goos: windows
    36          formats: [zip]
    37  changelog:
    38    groups:
    39      - title: 'New Features'
    40        regexp: "^.*feat[(\\w)]*:+.*$"
    41        order: 0
    42      - title: 'Bug fixes'
    43        regexp: "^.*fix[(\\w)]*:+.*$"
    44        order: 1
    45      - title: 'Documentation updates'
    46        regexp: "^.*docs[(\\w)]*:+.*$"
    47        order: 2
    48      - title: 'Other'
    49        order: 999
    50  release:
    51    prerelease: auto
    52    mode: append