get swag in goreleaser.yml

pull/20/head
Harvey Tindall 4 years ago
parent a834aa30cf
commit 0e415020f7
No known key found for this signature in database
GPG Key ID: BBC65952848FB1A2

@ -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: ./

Loading…
Cancel
Save