diff --git a/.goreleaser.yml b/.goreleaser.yml index 36ed9aa8bc..c7bfd1d8b5 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -30,6 +30,8 @@ builds: - -tags={{.Env.DATREE_DEPLOYMENT}} ldflags: - -X github.com/datreeio/datree/cmd.CliVersion={{.Env.DATREE_BUILD_VERSION}} + hooks: + post: gon gon.hcl archives: - replacements: darwin: Darwin diff --git a/gon.hcl b/gon.hcl new file mode 100644 index 0000000000..6f650ddc4c --- /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" +} \ No newline at end of file