From c6e3ee5925026144f49a4b300a85a18aa1684f0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A3rebe=20-=20Romain=20GERARD?= Date: Sun, 22 Oct 2023 11:13:30 +0200 Subject: [PATCH] update release command Former-commit-id: 8e06872cfe5c9732f1fb5d482486dacd9e3672ac [formerly 2ee0bbfaa958d4c78839584f5f87b8e7ca774b75] [formerly 109a50fdcc3a67d372358638b24016d6beff38b2 [formerly 7d2aeba885eba91a207769bd064842f3c656e702]] Former-commit-id: 8658dda5ca8f9540a742a795ddd8089c440db946 [formerly fe14c720c5b3e66deaacac5b5bd2e326bd31f58d] Former-commit-id: b6e61ba6ea727d878127cb038a8deaad68036389 Former-commit-id: 53bb2ef463a642a65d74ef4bdf0d4153b0443c76 Former-commit-id: bcf86ff66cc6c7131fed150c5a127f2860e4a74d Former-commit-id: bb3c8ae7c300c3f27f49404492596dec4b1bebd9 [formerly 9bb855cc9c01cb31df4caf5bb6146e27e58d05db] Former-commit-id: 3be421554358a4de7b3e2cf3a98a903bea328fd5 --- .goreleaser.yaml | 3 +++ goreleaser.go | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) delete mode 100644 goreleaser.go diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 1113f78..d2a0e9a 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,3 +1,6 @@ +before: + hooks: + - /bin/sh -c 'echo -e "package main\\nfunc main() { }" > goreleaser.go' builds: - goos: - linux diff --git a/goreleaser.go b/goreleaser.go deleted file mode 100644 index 792a517..0000000 --- a/goreleaser.go +++ /dev/null @@ -1,2 +0,0 @@ -package main -func main() { }