I’m not sure if this is already available, but would it be possible to have a hash of the latest.tar.gz uploaded onto the same site the download comes from? I’m automating roll-outs of WordPress, and I was thinking it’d be nice to have the script check that I’m using an up-to-date version before I start, and I don’t want to have it re-download if it’s not needed.
Eg I grab wordpress.org/latest.md5 which should only be a few bytes, I compare it to md5 latest.tar.gz, and if they’re different I redownload and extract.
SHA1, SHA256, MD5, I don’t mind… Just something in a text file that we can parse easily in a script to determine if the file’s changed and should be re-downloaded.
- The topic ‘Hash of latest.tar.gz’ is closed to new replies.