github.com/nektos/act@v0.2.63-0.20240520024548-8acde99bfa9c/.goreleaser.yml (about)

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