Merge pull request #11317 from Bo98/ghp-mkpath

github_packages: add missing root mkpath
This commit is contained in:
Bo Anderson 2021-05-04 16:45:58 +01:00 committed by GitHub
commit c1c775e783
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -260,6 +260,7 @@ class GitHubPackages
root = Pathname("#{formula_name}--#{version_rebuild}") root = Pathname("#{formula_name}--#{version_rebuild}")
FileUtils.rm_rf root FileUtils.rm_rf root
root.mkpath
if keep_old if keep_old
download(user, token, skopeo, image_uri, root, dry_run: dry_run) download(user, token, skopeo, image_uri, root, dry_run: dry_run)