fix the invalid goarch build and avoid calling the migration-pack each build

This commit is contained in:
Pantani
2021-03-24 10:41:32 -03:00
parent f07fd82822
commit a1eea43443
2 changed files with 5 additions and 5 deletions

3
.gitignore vendored
View File

@@ -1 +1,2 @@
bin/
bin/
dist/

View File

@@ -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: