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

fix: installing packr for arm is no longer working #5904

Merged
merged 1 commit into from
Mar 30, 2021
Merged
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
6 changes: 2 additions & 4 deletions hack/installers/install-packr-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ set -eux -o pipefail
PACKR_VERSION=${packr_version}
case $ARCHITECTURE in
arm|arm64)
# Clone the repository in $GOPATH/src/github.com/gobuffalo/packr
go get -u github.com/gobuffalo/packr
cd $GOPATH/src/github.com/gobuffalo/packr && git checkout tags/v$PACKR_VERSION
cd $GOPATH/src/github.com/gobuffalo/packr && CGO_ENABLED=0 make install
go get -d github.com/gobuffalo/packr@v$PACKR_VERSION
cd $GOPATH/pkg/mod/github.com/gobuffalo/packr@v$PACKR_VERSION && CGO_ENABLED=0 make install
mv $GOPATH/bin/packr $BIN/packr
;;
*)
Expand Down