get swag in goreleaser.yml

This commit is contained in:
Harvey Tindall 2020-10-08 21:25:34 +01:00
parent a834aa30cf
commit 0e415020f7
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ before:
- python3 mail/generate.py -y
- python3 version.py {{.Version}} version.go
- bash -c 'npx esbuild ts/* --outdir=data/static --minify'
- go get -u github.com/swaggo/swag/cmd/swag
- swag init -g main.go
builds:
- dir: ./