scotty/.build.yml
2023-11-24 14:55:41 +01:00

24 lines
622 B
YAML

image: archlinux
packages:
- go
- goreleaser-bin
- hut
oauth: pages.sr.ht/PAGES:RW
tasks:
- test: |
cd scotty
go build -v .
go test -v ./...
- build: |
cd scotty
goreleaser release --snapshot --clean
- publish-redirect: |
# Update redirect on https://go.uploadedlobster.com/scotty
./scotty/pages/publish.sh
artifacts:
- scotty/dist/scotty_Darwin_all.tar.gz
- scotty/dist/scotty_Linux_arm64.tar.gz
- scotty/dist/scotty_Linux_i386.tar.gz
- scotty/dist/scotty_Linux_x86_64.tar.gz
- scotty/dist/scotty_Windows_arm64.zip
- scotty/dist/scotty_Windows_x86_64.zip