summaryrefslogtreecommitdiffstats
path: root/.goreleaser.yml
blob: 7eb064c5cab88a94f760212b45ac533d4e87d6c0 (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
# 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:
      - darwin
      - 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
brew:
  github:
    owner: cjbassi
    name: homebrew-gotop
  description: "A terminal based graphical activity monitor inspired by gtop and vtop"
  homepage: "https://github.com/cjbassi/gotop"