diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..61e3480 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,28 @@ +# .goreleaser.yml +before: + hooks: + - go mod download + +builds: + - + id: "restapi" + dir: ./cve-alert-restapi + main: ./main.go + binary: restapi + + - + id: "fetcher" + dir: ./cve-alert-fetcher + main: ./main.go + binary: fetcher + +archives: + - + builds: + - restapi + - fetcher + + replacements: + amd64: 64-bit + 386: 32-bit + darwin: macOS