[Git][ghc/ghc][ghc-9.6] upload_ghc_libs: Don't handle `--skip` in `prepare` mode

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Fri Jan 27 15:54:42 UTC 2023



Ben Gamari pushed to branch ghc-9.6 at Glasgow Haskell Compiler / GHC


Commits:
e740dd68 by Ben Gamari at 2023-01-27T10:47:19-05:00
upload_ghc_libs: Don't handle `--skip` in `prepare` mode

- - - - -


1 changed file:

- .gitlab/rel_eng/upload_ghc_libs.py


Changes:

=====================================
.gitlab/rel_eng/upload_ghc_libs.py
=====================================
@@ -209,9 +209,10 @@ def main() -> None:
     if not pkgs:
         pkgs = set(PACKAGES.keys())
 
-    for pkg_name in args.skip:
-        assert pkg_name in PACKAGES
-    pkgs = pkgs - args.skip
+    if args.command == "upload":
+        for pkg_name in args.skip:
+            assert pkg_name in PACKAGES
+        pkgs = pkgs - args.skip
 
     if args.command == "prepare":
         manifest = {}



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e740dd68b86a7b55e040dade07eed92a1777f3de

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e740dd68b86a7b55e040dade07eed92a1777f3de
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230127/2f3837a1/attachment.html>


More information about the ghc-commits mailing list