]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Fix: CI: set-upstream on debian an develop branches
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 21 Feb 2026 11:32:23 +0000 (08:32 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 21 Feb 2026 11:32:23 +0000 (08:32 -0300)
.gitlab-ci.yml

index 281d60fb439920dc080069aab9a90de05394d026..0fe0fede0bcfa9a113027237a176f2a44eaa063c 100644 (file)
@@ -41,6 +41,7 @@ debian:
     - git fetch --all
     - git branch debian --track origin/debian || true
     - git checkout debian
+    - git branch --set-upstream-to=origin/debian debian
     - git pull
     - gbp buildpackage --git-ignore-new --git-upstream-signatures=no --git-no-sign-tags -us -uc
 
@@ -70,12 +71,14 @@ test:
     - git fetch --all
     - git branch debian --track origin/debian || true
     - git checkout debian
+    - git branch --set-upstream-to=origin/debian debian
     - git pull
     - gpg --import < debian/upstream/signing-key.asc
 
     # Create a test keyring in the develop branch
     - git branch develop --track origin/develop || true
     - git checkout develop
+    - git branch --set-upstream-to=origin/develop develop
     - git pull
     - mkdir -p ~/temp/tests
     - git config --global user.name 'Test'