Commit 1181b798 authored by Gert Wollny's avatar Gert Wollny
Browse files

CI: ignore branch

parent 33f629e7
Loading
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -7,6 +7,5 @@ build:
    - apt update && apt -y install devscripts git-buildpackage
    - mk-build-deps --tool "apt -y -o Debug::pkgProblemResolver=yes --no-install-recommends" --install -r debian/control 
  script: 
    - echo "make branch an use it for build with gbp"     
    - git checkout -B "$CI_COMMIT_REF_NAME" "$CI_COMMIT_SHA"
    - gbp buildpackage -uc -us --git-debian-branch "$CI_COMMIT_REF_NAME"
    - echo "Ignore branch because CI moves to some commit"     
    - gbp buildpackage -uc -us --git-ignore-branch