For an private package inside a private taps, we simply want to download a .tar.gz which is hosted on a Bitbucket server.
We got the sha256 via the command line using
and pasted it into the Formulas sha256 attribute.
When trying to install the package (which only is some directories really), we get an mismatched SHA256 error.
Now what’s really confusing is that after removing the downloaded file in
and trying to install again we get the same error again, but with an different sha256 hash.
So it seems like the sha256 by the downloaded .tar.gz differs every download.
Also when trying
brew fetch foo --build-from-source
we get a different sha256 every single time?