From 1df567a41e14023053857271591bb7a1668de61f Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sat, 15 Oct 2022 14:36:29 -0700 Subject: [PATCH] Revert "Remove no longer used dot files" This reverts commit a61e56a01bff1365849d20c4203b8584f49daa60. --- .dockerignore | 2 ++ .slsa-goreleaser-darwin-amd64.yml | 15 +++++++++++++++ .slsa-goreleaser-darwin-arm64.yml | 15 +++++++++++++++ .slsa-goreleaser-linux-amd64.yml | 15 +++++++++++++++ 4 files changed, 47 insertions(+) create mode 100644 .dockerignore create mode 100644 .slsa-goreleaser-darwin-amd64.yml create mode 100644 .slsa-goreleaser-darwin-arm64.yml create mode 100644 .slsa-goreleaser-linux-amd64.yml diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..354eebd --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.git +node_modules/ diff --git a/.slsa-goreleaser-darwin-amd64.yml b/.slsa-goreleaser-darwin-amd64.yml new file mode 100644 index 0000000..ca88555 --- /dev/null +++ b/.slsa-goreleaser-darwin-amd64.yml @@ -0,0 +1,15 @@ +version: 1 + +env: + - CGO_ENABLED=0 + +flags: + - -trimpath + +goos: darwin +goarch: amd64 + +binary: hishtory-{{ .Os }}-{{ .Arch }} + +ldflags: + - '{{ .Env.VERSION_LDFLAGS }}' diff --git a/.slsa-goreleaser-darwin-arm64.yml b/.slsa-goreleaser-darwin-arm64.yml new file mode 100644 index 0000000..998d8fc --- /dev/null +++ b/.slsa-goreleaser-darwin-arm64.yml @@ -0,0 +1,15 @@ +version: 1 + +env: + - CGO_ENABLED=0 + +flags: + - -trimpath + +goos: darwin +goarch: arm64 + +binary: hishtory-{{ .Os }}-{{ .Arch }} + +ldflags: + - '{{ .Env.VERSION_LDFLAGS }}' diff --git a/.slsa-goreleaser-linux-amd64.yml b/.slsa-goreleaser-linux-amd64.yml new file mode 100644 index 0000000..8f8d8cb --- /dev/null +++ b/.slsa-goreleaser-linux-amd64.yml @@ -0,0 +1,15 @@ +version: 1 + +env: + - CGO_ENABLED=0 + +flags: + - -trimpath + +goos: linux +goarch: amd64 + +binary: hishtory-{{ .Os }}-{{ .Arch }} + +ldflags: + - '{{ .Env.VERSION_LDFLAGS }}'