Explorar el Código

fix: rebuildDependants pipeline also uses per-stage task labels (unpack/rebuild/test/install)

clanker hace 1 semana
padre
commit
2d5f769ad7
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      src/lib/Transaction.vala

+ 3 - 2
src/lib/Transaction.vala

@@ -126,9 +126,10 @@ namespace Usm {
 
                 // Rebuilds run the same pipeline once every flagged package is
                 // installed, so dependants build against the fresh artifacts
+                do_for(rebuild_packages, unpack_package, TransactionTask.UNPACKING);
                 do_for(rebuild_packages, build_package, TransactionTask.REBUILDING);
-                do_for(rebuild_packages, test_package, TransactionTask.REBUILDING);
-                do_for(rebuild_packages, install_package, TransactionTask.REBUILDING);
+                do_for(rebuild_packages, test_package, TransactionTask.TESTING);
+                do_for(rebuild_packages, install_package, TransactionTask.INSTALLING);
 
                 // 6. Clean up
                 do_for(all_packages, cleanup_package, TransactionTask.CLEANING_UP);