You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
719 B

  1. #!/usr/bin/env bash
  2. CURDIR=`/bin/pwd`
  3. BASEDIR=$(dirname $0)
  4. ABSPATH=$(readlink -f $0)
  5. ABSDIR=$(dirname $ABSPATH)
  6. cd $ABSDIR/../../../../
  7. GOPATH=`pwd`
  8. cd $CURDIR
  9. bash $ABSDIR/build_package.sh "github.com/deroproject/derosuite/cmd/derod"
  10. bash $ABSDIR/build_package.sh "github.com/deroproject/derosuite/cmd/explorer"
  11. bash $ABSDIR/build_package.sh "github.com/deroproject/derosuite/cmd/dero-wallet-cli"
  12. cd "${ABSDIR}/build"
  13. #windows users require zip files
  14. zip -r dero_windows_amd64.zip dero_windows_amd64
  15. zip -r dero_windows_386.zip dero_windows_386
  16. #all other platforms are okay with tar.gz
  17. find . -mindepth 1 -type d -not -name '*windows*' -exec tar --owner=dummy --group=dummy -cvzf {}.tar.gz {} \;
  18. cd $CURDIR