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() { }