summaryrefslogtreecommitdiffstats
path: root/.goreleaser.yml
blob: c3702e3b33da9f7456a0aa2c9eb7ac47e4f3faa4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
release:
  prerelease: true

builds:
  - binary: dive
    goos:
      - darwin
      - linux
    goarch:
      - amd64
    ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.buildTime={{.Date}}`.

dockers:
  -
    binary: dive
    image_templates:
    - "wagoodman/dive:{{ .Tag }}"
    - "wagoodman/dive:v{{ .Major }}"
    - "wagoodman/dive:v{{ .Major }}.{{ .Minor }}"
    - "wagoodman/dive:latest"
    - "quay.io/wagoodman/dive:{{ .Tag }}"
    - "quay.io/wagoodman/dive:v{{ .Major }}"
    - "quay.io/wagoodman/dive:v{{ .Major }}.{{ .Minor }}"
    - "quay.io/wagoodman/dive:latest"

archive:
  format: tar.gz

nfpm:
  license: MIT
  homepage: https://github.com/wagoodman/dive/
  formats:
    - deb
    - rpm

brew:
  github:
    owner: wagoodman
    name: homebrew-dive