Skip to content

Commit

Permalink
Fix goreleaser name issue with arm64 (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfantinhardesty authored Nov 7, 2024
1 parent 0f3ef6b commit 0b7aeac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ jobs:
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: '~> v2.3'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ nfpms:
# GoReleaser will automatically add the binaries.
contents:
# Basic file that applies to all packagers
- src: './dist/linux-{{ .Arch }}-health-monitor_linux_{{ .Arch }}{{- if eq .Arch "amd64" }}_{{ .Amd64 }}{{ end }}/cfusemon'
- src: './dist/linux-{{ .Arch }}-health-monitor_linux_{{ .Arch }}{{- if eq .Arch "amd64" }}_{{ .Amd64 }}{{- else }}_{{ .Arm64 }}{{ end }}/cfusemon'
dst: /usr/bin/cfusemon
- src: NOTICE
dst: /usr/share/doc/cloudfuse/NOTICE
Expand Down Expand Up @@ -345,7 +345,7 @@ nfpms:
# GoReleaser will automatically add the binaries.
contents:
# Basic file that applies to all packagers
- src: './dist/linux-{{ .Arch }}-health-monitor_linux_{{ .Arch }}{{- if eq .Arch "amd64" }}_{{ .Amd64 }}{{ end }}/cfusemon'
- src: './dist/linux-{{ .Arch }}-health-monitor_linux_{{ .Arch }}{{- if eq .Arch "amd64" }}_{{ .Amd64 }}{{- else }}_{{ .Arm64 }}{{ end }}/cfusemon'
dst: /usr/bin/cfusemon
- src: NOTICE
dst: /usr/share/doc/cloudfuse/NOTICE
Expand Down

0 comments on commit 0b7aeac

Please sign in to comment.