mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 08:15:15 +00:00
pack the right arch binary
This commit is contained in:
parent
cae0fd9d48
commit
612058c7c9
4
Makefile
4
Makefile
|
@ -101,9 +101,9 @@ pack: static bbgo-linux bbgo-slim-linux bbgo-darwin bbgo-slim-darwin desktop
|
||||||
for arch in amd64 arm64 ; do \
|
for arch in amd64 arm64 ; do \
|
||||||
for platform in linux darwin ; do \
|
for platform in linux darwin ; do \
|
||||||
echo $$platform ; \
|
echo $$platform ; \
|
||||||
tar -C $(BIN_DIR) -cvzf $(DIST_DIR)/$(GIT_DESC)/bbgo-$(GIT_DESC)-$$platform-$$arch.tar.gz bbgo-$$platform ; \
|
tar -C $(BIN_DIR) -cvzf $(DIST_DIR)/$(GIT_DESC)/bbgo-$(GIT_DESC)-$$platform-$$arch.tar.gz bbgo-$$platform-$$arch ; \
|
||||||
gpg --sign --armor $(DIST_DIR)/$(GIT_DESC)/bbgo-$(GIT_DESC)-$$platform-$$arch.tar.gz ; \
|
gpg --sign --armor $(DIST_DIR)/$(GIT_DESC)/bbgo-$(GIT_DESC)-$$platform-$$arch.tar.gz ; \
|
||||||
tar -C $(BIN_DIR) -cvzf $(DIST_DIR)/$(GIT_DESC)/bbgo-slim-$(GIT_DESC)-$$platform-$$arch.tar.gz bbgo-slim-$$platform ; \
|
tar -C $(BIN_DIR) -cvzf $(DIST_DIR)/$(GIT_DESC)/bbgo-slim-$(GIT_DESC)-$$platform-$$arch.tar.gz bbgo-slim-$$platform-$$arch ; \
|
||||||
gpg --sign --armor $(DIST_DIR)/$(GIT_DESC)/bbgo-slim-$(GIT_DESC)-$$platform-$$arch.tar.gz ; \
|
gpg --sign --armor $(DIST_DIR)/$(GIT_DESC)/bbgo-slim-$(GIT_DESC)-$$platform-$$arch.tar.gz ; \
|
||||||
done ; \
|
done ; \
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user