See original comment, essentially we need to loop over brew deps --HEAD julia, call brew fetch --force-bottle $dep, parse the output for downloaded bottle, ensure that bottle is uploaded to AWS, if not, upload the new one.
For parsing out downloaded location, this seems to work well:
See original comment, essentially we need to loop over
brew deps --HEAD julia
, callbrew fetch --force-bottle $dep
, parse the output for downloaded bottle, ensure that bottle is uploaded to AWS, if not, upload the new one.For parsing out downloaded location, this seems to work well:
To download bottles of different platforms, we can parse out download URL and replace it with our own new platforms:
To figure out what bottles need to be uploaded, we can just
[[ -z "$(aws ls bucketname -l | grep bottle_filename)" ]]
.