aboutsummaryrefslogtreecommitdiff
path: root/.goreleaser.yml
blob: 86afd5fd32632f5e4851e1c719979b4b9515a2c5 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
project_name: waybar-mpris
release:
    gitea:
        owner: hrfee
        name: waybar-mpris
    name_template: "v{{.Version}}"
before:
  hooks:
    - go mod download
builds:
    - id: main
      dir: ./
      env:
        - CGO_ENABLED=0
      goos:
        - linux
      goarch:
        - amd64
        - arm
        - arm64
archives:
  - id: main
    builds:
      - main
    replacements:
        linux: Linux
        amd64: x86_64
checksum:
    name_template: 'checksums.txt'
snapshot:
    name_template: "0.0.0-{{.ShortCommit}}"
changelog:
    sort: asc
    filters:
        exclude:
            - '^docs:'
            - '^test:'
nfpms:
  - id: main
    file_name_template: '{{ .ProjectName }}-git-{{ .ShortCommit }}_{{ .Arch }}'
    package_name: waybar-mpris
    homepage: https://git.hrfee.pw/hrfee/waybar-mpris
    description: MPRIS2 waybar component
    maintainer: Harvey Tindall <hrfee@hrfee.dev>
    license: MIT
    vendor: hrfee.dev
    version_metadata: git
    builds:
      - main
    contents:
      - src: ./LICENSE
        dst: /usr/share/licenses/waybar-mpris
    formats:
      - deb
      - rpm