From a1eea4344342e52ffac002111d6a81711874e490 Mon Sep 17 00:00:00 2001 From: Pantani Date: Wed, 24 Mar 2021 10:41:32 -0300 Subject: [PATCH] fix the invalid goarch build and avoid calling the migration-pack each build --- .gitignore | 3 ++- .goreleaser.yml | 7 +++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 6dd29b7..a5d8f72 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -bin/ \ No newline at end of file +bin/ +dist/ diff --git a/.goreleaser.yml b/.goreleaser.yml index 8f5efec..645a2b7 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,6 +1,7 @@ before: hooks: - go mod download + - make migration-pack builds: - main: ./cli/node/main.go @@ -9,10 +10,8 @@ builds: goos: - linux - darwin - - windows - hooks: - pre: make migration-pack - post: make migration-clean + goarch: + - amd64 archives: - replacements: