github.com/unigraph-dev/dgraph@v1.1.1-0.20200923154953-8b52b426f765/contrib/nightly/transfer.sh (about)

     1  #!/bin/bash
     2  
     3  # This script builds the dgraph binary with the version information, packages it into a tarball,
     4  # uploads it to https://transfer.sh and prints the URL of the uploaded file. This URL can be
     5  # supplied to Jepsen tests to use the current HEAD for the tests.
     6  
     7  $GOPATH/src/github.com/dgraph-io/dgraph/contrib/nightly/build.sh "-dev"
     8  
     9  echo -e "\nUploading the tar file to https://transfer.sh\n\n"
    10  curl --upload-file dgraph-linux-amd64.tar.gz https://transfer.sh/dgraph-linux-amd64.tar.gz