From 628c582ea70e2221a22cc9f84570eefe47fee8c4 Mon Sep 17 00:00:00 2001 From: Pantani Date: Sun, 28 Mar 2021 21:03:14 -0300 Subject: [PATCH] fix gorelease migration pack --- .github/workflows/release.yml | 13 +++++++------ .goreleaser.yml | 14 ++------------ 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c0ae4a..dfd1589 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,18 +9,19 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - - name: Checkout + - name: Checkout uses: actions/checkout@v2 with: fetch-depth: 0 - - - name: Set up Go + - name: Set up Go uses: actions/setup-go@v2 with: go-version: 1.16 - - - name: Run GoReleaser + - name: Get packr + run: go get -u github.com/gobuffalo/packr + - name: Prepare + run: git reset --hard + - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: version: latest diff --git a/.goreleaser.yml b/.goreleaser.yml index 8f5efec..bc0527f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -9,18 +9,8 @@ builds: goos: - linux - darwin - - windows - hooks: - pre: make migration-pack - post: make migration-clean - -archives: - - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 + goarch: + - amd64 checksum: name_template: 'checksums.txt'