From d9b7eee171447ed97fc965c3b21b4ecc10fce45d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A3rebe=20-=20Romain=20GERARD?= Date: Sat, 21 Oct 2023 21:27:43 +0200 Subject: [PATCH] update github action Former-commit-id: f92a2be10d69b733c3652cad38443f9ddf17ac9b [formerly 77b83ba3600efb84856d4f7c1eb2dd50f0628e59] [formerly 325457981b884a8207c284f3819744337d485435 [formerly 550be13973c00b58d9b21af696e36de9a82a79b5]] Former-commit-id: 9217bf20e473bbbb96784561ba37377adcc88f0a [formerly f3f340f2161f25a46db5f63e53b975aa376c093c] Former-commit-id: de2b8d66d371e09e9f3902ad69c2a54054293c22 Former-commit-id: 90b95cd3774b772c8fcf72d16524751737c38708 Former-commit-id: bec71ca9a48e5e1ce061eee97d5301fa7cf54e22 Former-commit-id: 01a4a28e402e30ece4deb28e5f585521d2430c01 [formerly 0f776f45e3c6bdeef3640427053152dc1d0fa62a] Former-commit-id: 0d0405d673091298cbc8ccd15b957bb9a3c543e2 --- .goreleaser.yaml | 4 ++-- goreleaser.go | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 goreleaser.go diff --git a/.goreleaser.yaml b/.goreleaser.yaml index fbff75d..1113f78 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -21,8 +21,8 @@ builds: goarch: arm main: goreleaser.go hooks: - pre: - - /bin/sh -c "if [ ! -e ./goreleaser.go ]; then echo -e 'package main\\\nfunc main() { }' > ./goreleaser.go ; fi" + #pre: + # - /bin/sh -c "if [ ! -e ./goreleaser.go ]; then echo -e 'package main\\\nfunc main() { }' > ./goreleaser.go ; fi" post: - ./.goreleaser_hook.sh {{ .Arch }} {{ .Os }} {{ .ProjectName }} checksum: diff --git a/goreleaser.go b/goreleaser.go new file mode 100644 index 0000000..792a517 --- /dev/null +++ b/goreleaser.go @@ -0,0 +1,2 @@ +package main +func main() { }