Skip to content

Only use files when computing model archive hash

The model publication part is essentially a port of the code available in the CLI. However, it's not a total fork, so patches applied there are not done here.

@NolanB found a bug in the hash computation while publishing a folder containing subfolders.

The file list computed here also include subfolders. Instead we should do something similar to this, to filter out folders.