Skip to content

Commit

Permalink
Merge pull request #218 from yutachaos/feature/added_arm_build
Browse files Browse the repository at this point in the history
Added arm build
  • Loading branch information
fujiwara authored Feb 18, 2022
2 parents bcfa187 + 38ef0a9 commit 8785697
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: setup tools
run: |
mkdir ~/bin
curl -sL https://github.com/Songmu/goxz/releases/download/v0.4.1/goxz_v0.4.1_linux_amd64.tar.gz | tar zxvf - && install goxz_v0.4.1_linux_amd64/goxz ~/bin/
curl -sL https://github.com/Songmu/goxz/releases/download/v0.8.1/goxz_v0.8.1_linux_amd64.tar.gz | tar zxvf - && install goxz_v0.8.1_linux_amd64/goxz ~/bin/
curl -sL https://github.com/tcnksm/ghr/releases/download/v0.13.0/ghr_v0.13.0_linux_amd64.tar.gz | tar zxvf - && install ghr_v0.13.0_linux_amd64/ghr ~/bin/
- name: dist
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dist:
CGO_ENABLED=0 \
goxz -pv=$(GIT_VER) \
-build-ldflags="-s -w -X main.Version=${GIT_VER}" \
-os=darwin,linux -arch=amd64 -d=dist ./cmd/lambroll
-os=darwin,linux -arch=amd64,arm64 -d=dist ./cmd/lambroll

release:
ghr -u fujiwara -r lambroll -n "$(GIT_VER)" $(GIT_VER) dist/
Expand Down

0 comments on commit 8785697

Please sign in to comment.