Commit 33f629e7 authored by Gert Wollny's avatar Gert Wollny
Browse files

ci: Use the branch of the commit-tag

parent 56cc9a75
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7,6 +7,6 @@ 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 master branch current for gbp"     
    - echo "make branch an use it for build with gbp"     
    - git checkout -B "$CI_COMMIT_REF_NAME" "$CI_COMMIT_SHA"
    - gbp buildpackage -uc -us
    - gbp buildpackage -uc -us --git-debian-branch "$CI_COMMIT_REF_NAME"