We've made a change in the structure of our apt repositories.
[arvados-dev.git] / jenkins / run_upload_packages.py
index aadc004cbfc28b80ef08ac485c42ba7f2642ea1b..41f0852854f3e137d9a1822bc752f74a683f3904 100755 (executable)
@@ -188,8 +188,8 @@ class DebianPackageSuite(DistroPackageSuite):
     FREIGHT_SCRIPT = """
 cd "$1"; shift
 DISTNAME=$1; shift
-freight add "$@" "apt/$DISTNAME"
-freight cache "apt/$DISTNAME"
+aptly repo add "$DISTNAME" "$@"
+aptly publish update "$DISTNAME" filesystem:"${DISTNAME%-*}":
 rm "$@"
 """