diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f29e47d..478fe7a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: goreleaser on: push: tags: - - '*' + - "*" jobs: goreleaser: @@ -16,7 +16,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v1 with: - node-version: '16' + node-version: "16" - name: Set up Go uses: actions/setup-go@v2 with: diff --git a/.goreleaser.yml b/.goreleaser.yml index cad8259..94b0595 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -9,20 +9,21 @@ before: builds: - env: - CGO_ENABLED=0 -archives: - - replacements: - darwin: Darwin - linux: Linux - windows: Windows - amd64: x86_64 + goos: + - linux + - darwin + - windows + goarch: + - amd64 + - arm64 checksum: - name_template: 'checksums.txt' + name_template: "checksums.txt" snapshot: - name_template: '{{ .Tag }}-next' + name_template: "{{ .Tag }}-next" changelog: sort: asc filters: exclude: - - '^docs:' - - '^test:' - - '^chore:' + - "^docs:" + - "^test:" + - "^chore:"