]> xenbits.xensource.com Git - libvirt.git/commit
ci: build.sh: Add a helper function to create the dist tarball
authorErik Skultety <eskultet@redhat.com>
Thu, 24 Aug 2023 13:47:48 +0000 (15:47 +0200)
committerErik Skultety <eskultet@redhat.com>
Tue, 12 Sep 2023 09:36:03 +0000 (11:36 +0200)
commit387553db480309855a8c69d6e5ea9e0c3f0bed46
tree74bdc471cbc968d2ff3a7f233bdabb5b546e44b4
parent5452ca9b1c316f80ad6c7bc5ed0e8e0fc0f91390
ci: build.sh: Add a helper function to create the dist tarball

This helper function does not correspond to a particular GitLab job, it
just logically separates the necessary step of creating a dist tarball
from the RPM build job that takes over.
One notable change here is the need to update git's file index which
causes issues in local container executions which rely on a shallow
copy of the libvirt repo created as:

    $ git clone --local

Even if all changes have been committed, git often complained
otherwise. Updating the index in a GitLab environment is a NOP.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
ci/build.sh