Did you know ... Search Documentation:
Predicate publish_download/2
 publish_download(+Infos, +Options) is semidet[private]
 register_downloads(+Infos, +Options) is det[private]
Register our downloads with the pack server. The publish_download/2 version is used to register a specific pack after successfully installing the pack. In this scenario, we
  1. call register_downloads/2 with publish(Pack) that must be a no-op.
  2. build and test the pack
  3. call publish_download/2, which calls register_downloads/2 after replacing publish(Pack) by do_publish(Pack).