diff --git a/.gitignore b/.gitignore index 93b5e29ca..d542c37c6 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ build dist .env .idea -.DS_Store \ No newline at end of file +.DS_Store +*.go \ No newline at end of file diff --git a/.goreleaser.yaml b/.goreleaser.yml similarity index 61% rename from .goreleaser.yaml rename to .goreleaser.yml index dc6403f1d..eaeb53457 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yml @@ -1,16 +1,19 @@ project_name: cvpm before: hooks: - - ./before_build.sh + - cp -r cli/. ./ builds: -- main: main.go -- binary: cvpm -- goarch: - - amd64 - - arm - - arm64 -- env: - - CGO_ENABLED=0 + - + main: main.go + binary: cvpm + goarch: + - amd64 + - arm + - arm64 + env: + - CGO_ENABLED=0 + hooks: + post: ./cleanup.sh archive: replacements: darwin: Darwin