Changes
This commit is contained in:
@@ -139,7 +139,10 @@ def discover_artifacts(dist_dir, package_name, targets):
|
||||
artifacts.extend((archive, archive.with_name(archive.name + ".sha256")))
|
||||
missing = [path for path in artifacts if not path.is_file()]
|
||||
if missing:
|
||||
raise SystemExit("missing artifact files: " + ", ".join(str(path) for path in missing))
|
||||
found = sorted(path.name for path in dist_dir.glob(f"{package_name}-*.tar.gz*") if path.is_file())
|
||||
raise SystemExit("missing artifact files: " + ", ".join(str(path) for path in missing)
|
||||
+ "\nFound: " + (", ".join(found) or "none")
|
||||
+ "\nPublish the current Modulus tooling, run configure --update, and recreate the package so the builder and publisher use the same filenames.")
|
||||
return artifacts
|
||||
|
||||
def upload_file(registry_url, package_name, path, auth):
|
||||
|
||||
Reference in New Issue
Block a user