github.com/tickoalcantara12/micro/v3@v3.0.0-20221007104245-9d75b9bcbab9/.goreleaser.yml (about)

     1  project_name: micro
     2  release:
     3    github:
     4      owner: micro
     5      name: micro
     6    name_template: 'Release {{.Tag}}'
     7  before:
     8    hooks:
     9      - go mod download
    10  builds:
    11  - binary: micro
    12    env:
    13      - CGO_ENABLED=0
    14      - GO111MODULE=on
    15    ldflags: -s -w -X github.com/tickoalcantara12/micro/v3/cmd.GitCommit={{ .ShortCommit }} -X github.com/tickoalcantara12/micro/v3/cmd.GitTag={{ .Tag }} -X github.com/tickoalcantara12/micro/v3/cmd.BuildDate={{ .Timestamp }}
    16    goos:
    17    - linux
    18    - darwin
    19    - windows
    20    goarch:
    21    - 386
    22    - amd64
    23    - arm
    24    - arm64
    25    goarm:
    26    - 7
    27    ignore:
    28    - goos: windows
    29      goarch: arm64
    30  archives:
    31  - name_template: '{{.ProjectName}}-{{.Tag}}-{{.Os}}-{{.Arch}}{{if .Arm}}{{.Arm}}{{end}}'
    32    replacements:
    33      darwin: darwin
    34      linux: linux
    35      windows: windows
    36      amd64: amd64
    37      arm: arm
    38      arm64: arm64
    39    format: tar.gz
    40    format_overrides:
    41    - goos: windows
    42      format: zip
    43    files:
    44      - LICENSE
    45      - README.md
    46  checksum:
    47    name_template: 'checksums.txt'
    48    algorithm: sha256
    49  snapshot:
    50    name_template: "{{ .Tag }}-next"
    51  changelog:
    52    sort: asc
    53    filters:
    54      exclude:
    55      - '^docs:'
    56      - '^test:'