]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Fix: CI: run git pull to update local copies (#10)
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 4 Jan 2025 21:20:09 +0000 (18:20 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 4 Jan 2025 21:20:09 +0000 (18:20 -0300)
.gitlab-ci.yml

index 11e580b33869048f4a1e34b2250077e6cfd17b81..281d60fb439920dc080069aab9a90de05394d026 100644 (file)
@@ -41,6 +41,7 @@ debian:
     - git fetch --all
     - git branch debian --track origin/debian || true
     - git checkout debian
+    - git pull
     - gbp buildpackage --git-ignore-new --git-upstream-signatures=no --git-no-sign-tags -us -uc
 
     # Run lintian
@@ -69,11 +70,13 @@ test:
     - git fetch --all
     - git branch debian --track origin/debian || true
     - git checkout 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 pull
     - mkdir -p ~/temp/tests
     - git config --global user.name 'Test'
     - git config --global user.email 'test@example.org'