Skip to content
Snippets Groups Projects
Commit 7a0e534a authored by ale's avatar ale
Browse files

Fix the CI build for pre-patched sources

parent e28ddbc6
No related branches found
No related tags found
No related merge requests found
include: "https://git.autistici.org/ai3/build-deb/raw/master/ci-common.yml"
# debian/patches patches are kept applied in the tree, no need to
# double-apply them when building the source package.
# Thus remove the patches altogether and build an original tarball out of HEAD.
build_pkgsrc:stretch:
script:
- rm -rf debian/patches
- git archive --prefix orig/ --output ../$(dpkg-parsechangelog -SSource)_$(dpkg-parsechangelog -SVersion | sed -e 's/-[^-]*$//' -e 's/^[0-9]*://').orig.tar.gz HEAD
# nicer version with git-buildpackage >= 0.9.8
#- gbp export-orig --upstream-tag=HEAD
- build-dsc
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