Skip to content
Snippets Groups Projects
Commit 0c6a3a08 authored by Andrea Bolognani's avatar Andrea Bolognani
Browse files

salsa-ci: Create local pristine-tar branch

Now that we enforce the presence of the upstream signature, not
having a local pristine-tar branch will result in

  $ gbp export-orig --tarball-dir="${LV_WORKING_DIR}/tarballs" --pristine-tar
  gbp:info: All Orig tarballs 'libvirt_6.0.0.orig.tar.xz' found at '/builds/libvirt-team/libvirt/debian/output/tarballs'
  gbp:warning: Pristine-tar branch "pristine-tar" not found
  gbp:info: Creating /builds/libvirt-team/libvirt/debian/output/tarballs/libvirt_6.0.0.orig.tar.xz
  gbp:error: Can not find requested upstream signature for archive 'libvirt_6.0.0.orig.tar.xz' in pristine tar commit.

Even before, gbp reported the same warning about the pristine-tar
branch being missing, although it still managed to produce an
upstream tarball somehow.
parent 3ebdef80
No related branches found
No related tags found
1 merge request!48Fix Salsa CI
Pipeline #131435 passed
......@@ -23,6 +23,7 @@ build-debian-package:
script:
- 'UPSTREAM_BRANCH=$(gbp config dch.upstream-branch)'
- git branch "${UPSTREAM_BRANCH}" "origin/${UPSTREAM_BRANCH}"
- git branch pristine-tar origin/pristine-tar
- gbp dch --git-author -S -a --ignore-branch
- mkdir -p "${LV_WORKING_DIR}/tarballs"
- gbp export-orig --tarball-dir="${LV_WORKING_DIR}/tarballs"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment