summaryrefslogtreecommitdiff
path: root/.goreleaser.yaml
blob: dac8fc80a9a6236fd4f88fd110f31cb7c46410bf (plain) (blame)
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
version: 2

before:
  hooks:
    - go mod tidy
    - go test ./...

builds:
  - id: flyscrape
    main: ./cmd/flyscrape
    env:
      - CGO_ENABLED=0
    ldflags:
      - -s -w
      - -extldflags "-static"
      - -X github.com/philippta/flyscrape.Version={{.Tag}}
    flags:
      - -mod=readonly
    tags:
      - osusergo
      - netgo

archives:
  - format: tar.gz
    format_overrides:
      - goos: windows
        format: zip

changelog:
  sort: asc
  filters:
    exclude:
      - "^docs:"
      - "^test:"
      - "^chore:"