Browse Source

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

master
Pantani 3 years ago
parent
commit
a1eea43443
2 changed files with 5 additions and 5 deletions
  1. +2
    -1
      .gitignore
  2. +3
    -4
      .goreleaser.yml

+ 2
- 1
.gitignore

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

+ 3
- 4
.goreleaser.yml

@ -1,6 +1,7 @@
before: before:
hooks: hooks:
- go mod download - go mod download
- make migration-pack
builds: builds:
- main: ./cli/node/main.go - main: ./cli/node/main.go
@ -9,10 +10,8 @@ builds:
goos: goos:
- linux - linux
- darwin - darwin
- windows
hooks:
pre: make migration-pack
post: make migration-clean
goarch:
- amd64
archives: archives:
- replacements: - replacements:

Loading…
Cancel
Save