stash/scripts/upload-pull-request.sh

12 lines
294 B
Bash
Raw Normal View History

#!/bin/sh
# assumes cross-compile.sh has already been run successfully
function uploadFile(file) {
BASENAME="$(basename "${FILE}")"
curl --upload-file $FILE "https://transfer.sh/$BASENAME"
}
uploadFile("dist/stash-osx")
uploadFile("dist/stash-win.exe")
uploadFile("dist/stash-linux")