2018-04-10 09:07:36 +08:00
|
|
|
# Build Steps
|
2018-04-11 12:39:09 +08:00
|
|
|
# 1. Make sure everything builds and runs
|
|
|
|
# 2. update version number in 'main.go' and 'download.sh'
|
|
|
|
# 3. commit changes
|
|
|
|
# 4. tag commit
|
2018-04-14 00:00:12 +08:00
|
|
|
# 5. export token
|
|
|
|
# 6. run goreleaser
|
|
|
|
# 7. delete 'dist' folder
|
2018-04-11 12:39:09 +08:00
|
|
|
# 8. push changes to GitHub
|
2018-04-14 00:00:12 +08:00
|
|
|
# 9. update AUR package
|
2018-04-10 09:07:36 +08:00
|
|
|
|
|
|
|
builds:
|
|
|
|
- binary: gotop
|
|
|
|
goos:
|
|
|
|
- darwin
|
|
|
|
- linux
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- 386
|
2018-04-14 02:23:03 +08:00
|
|
|
- arm
|
|
|
|
- arm64
|
|
|
|
goarm:
|
|
|
|
- 5
|
|
|
|
- 6
|
|
|
|
- 7
|
2018-04-10 09:07:36 +08:00
|
|
|
archive:
|
2018-04-14 07:14:30 +08:00
|
|
|
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}{{ .Arm }}{{ end }}"
|
|
|
|
replacements:
|
|
|
|
arm64: arm8
|
2018-04-10 09:07:36 +08:00
|
|
|
format: tgz
|
2018-04-14 07:39:11 +08:00
|
|
|
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"
|