diff --git a/.goreleaser.yml b/.goreleaser.yml index 1647efb174..3293c49559 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -26,6 +26,8 @@ builds: main: ./main.go flags: - -tags={{.Env.DATREE_DEPLOYMENT}} + hooks: + post: gon gon.hcl archives: - replacements: darwin: Darwin diff --git a/gon.hcl b/gon.hcl new file mode 100644 index 0000000000..a62654d5cb --- /dev/null +++ b/gon.hcl @@ -0,0 +1,10 @@ +source = ["./dist/datree-macos_darwin_amd64/datree"] +bundle_id = "io.datree" + +sign { + application_identity = "Developer ID Application: Datree Group Inc" +} + +zip { + output_path = "./dist/datree-macos.zip" +}