Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(arm64-support): add arm64 to goreleaser config #81

Merged
merged 3 commits into from
Jan 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ pixlet

# Releases
build/
dist/
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ builds:

goarch:
- amd64
- arm64

hooks:
post: ./.goreleaser/fetch-artifacts.sh
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser/fetch-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -euo pipefail
mkdir -p artifacts
buildkite-agent artifact download '*' ./artifacts

for dist in "darwin_amd64" "linux_amd64"; do
for dist in "darwin_amd64" "linux_amd64" "darwin_arm64" "linux_arm64"; do
mkdir -p "dist/$dist"
cp "artifacts/$dist" "dist/pixlet_$dist/pixlet"
chmod +x "dist/pixlet_$dist/pixlet"
Expand Down