summaryrefslogtreecommitdiffstats
path: root/.goreleaser.yml
blob: b2bbab6d5b0aa2fbd4383c6a8a7bc53d5963dd67 (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
# Build Steps
# 1. Make sure everything builds and runs
# 2. update version number in 'main.go' and 'download.sh'
# 3. commit changes
# 4. tag commit
# 5. export token
# 6. run goreleaser
# 7. delete 'dist' folder
# 8. push changes to GitHub
# 9. update AUR package

builds:
  - binary: gotop
    goos:
      - linux
    goarch:
      - amd64
      - 386
      - arm
      - arm64
    goarm:
      - 5
      - 6
      - 7
archive:
  name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}{{ .Arm }}{{ end }}"
  replacements:
    arm64: arm8
  format: tgz
dockers:
  - image: cjbassi/gotop