github.com/git-chglog/git-chglog@v0.15.5-0.20240126074033-6a6993d52d69/.goreleaser.yml (about)

     1  # This is an example .goreleaser.yml file with some sane defaults.
     2  # Make sure to check the documentation at http://goreleaser.com
     3  project_name: git-chglog
     4  
     5  before:
     6    hooks:
     7      # You may remove this if you don't use go modules.
     8      - go mod download
     9  
    10  builds:
    11    - dir: cmd/git-chglog
    12      env:
    13        - CGO_ENABLED=0
    14      goos:
    15        - linux
    16        - windows
    17        - darwin
    18      goarch:
    19        - 386
    20        - amd64
    21        - arm
    22        - arm64
    23  
    24  archives:
    25    - format_overrides:
    26        - goos: windows
    27          format: zip
    28  
    29  checksum:
    30    name_template: "checksums.txt"
    31  
    32  changelog:
    33    sort: desc
    34    filters:
    35      exclude:
    36        - "^Merge"
    37  
    38  snapshot:
    39    name_template: "{{ .Tag }}-next"
    40  
    41  dockers:
    42    - image_templates:
    43        - "quay.io/git-chglog/git-chglog:{{ .RawVersion }}"
    44        - "quay.io/git-chglog/git-chglog:latest"
    45  
    46  brews:
    47    - tap:
    48        owner: git-chglog
    49        name: homebrew-git-chglog
    50      homepage: "https://godoc.org/github.com/git-chglog/git-chglog"
    51      description: "CHANGELOG generator implemented in Go (Golang)."
    52      test: |
    53        system "#{bin}/git-chglog --help"
    54      install: |
    55        bin.install "git-chglog"