build.sh 343 B

12345678910111213141516171819202122
  1. #!/bin/sh
  2. set -eu
  3. usage() {
  4. echo "usage: $(basename $0) VERSION"
  5. exit 1
  6. }
  7. [ "$#" -eq 1 ] || usage
  8. export VERSION="$1"
  9. # build universal MacOS binary
  10. sh $(dirname $0)/build_darwin.sh
  11. # # build arm64 and amd64 Linux binaries
  12. sh $(dirname $0)/build_linux.sh
  13. # # build arm64 and amd64 Docker images
  14. sh $(dirname $0)/build_docker.sh