Commit a63ad667e5b3f6cd6c683c666688dbe233781e42

Thomas de Grivel 2023-02-25T16:06:00

rbpkg_ci

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/bin/rbpkg_ci b/bin/rbpkg_ci
index 675978b..c4aa13d 100755
--- a/bin/rbpkg_ci
+++ b/bin/rbpkg_ci
@@ -36,6 +36,9 @@ def rbpkg_ci
     usage
   when "--help"
     usage
+  when "--upgrade"
+    Rbpkg.upgrade_self
+    shift
   end
   repo = shift
   branch = $ARGS[0] ? shift : nil