I know how to do it from the repo, but how do I do this from downloads?
for examples how can I get this as raw
https://bitbucket.org/bliss-box/firmware/downloads/latest.hex
I read the API but not making sense of it at all. From reading it I think I just do
curl $CURL_RETRY --insecure -L "https://api.bitbucket.org/2.0/repositories/bliss-box/firmware/downloads/latest.hex" -o "$SCRIPT_PATH/latest.hex"
but its downloading the file...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.