use go install for swag in goreleaser

This commit is contained in:
Harvey Tindall
2022-03-22 15:15:57 +00:00
parent 8b52330304
commit 4c3e310634
4 changed files with 24 additions and 6 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ typescript:
$(COPYTS)
swagger:
$(GOBINARY) install github.com/swaggo/swag/cmd/swag
$(GOBINARY) install github.com/swaggo/swag/cmd/swag@latest
swag init -g main.go
compile: