CLI command for building hashes.json

Sim

Well-known member
As per this thread: https://xenforo.com/community/threads/why-isnt-hashes-json-written-to-filesystem.140904/

Because hashes.json is only generated as part of the zip file in the build process and is never saved directly to the file system, it means that people using automated deployment tools to push out addons to staging / production servers don't get the benefit of having a hashes.json file on their servers.

It would be useful to have a CLI command to generate hashes.json which can be run as part of the deployment process so we can get a hashes.json on the staging/production servers even if not on the dev server.
 
Upvote 11
Top Bottom