Skip to content

Commit

Permalink
fix: drop some archs from build and remove version from binary name
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesw committed Mar 21, 2024
1 parent 42d6137 commit 3873d5e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,24 @@ on:
push:
tags:
- 'v*'
workflow_dispatch:

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v2
-
name: Unshallow

- name: Unshallow
run: git fetch --prune --unshallow
-
name: Set up Go

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.14
-
name: Run GoReleaser

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
Expand Down
4 changes: 1 addition & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ builds:
- linux
goarch:
- amd64
- '386'
- arm
- arm64
binary: '{{ .ProjectName }}_v{{ .Version }}'
binary: '{{ .ProjectName }}'
archives:
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
Expand Down

0 comments on commit 3873d5e

Please sign in to comment.