Skip to content

Commit

Permalink
github wf: fix debian packaging when triggered by a tag
Browse files Browse the repository at this point in the history
This is because in debian/gbp.conf pristine-tar is enabled which
we don't wan't here, so disable it explicitely
  • Loading branch information
tenzap committed Jun 22, 2023
1 parent b919f24 commit 332770f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
DEB_VERSION=$(echo ${KALKUN_VERSION} | sed -e "s/-/~/g")-1 ; \
rm debian/changelog
dch --package kalkun --newversion="$DEB_VERSION" --create $DEB_VERSION ; \
gbp export-orig --upstream-tag=$(git tag --points-at ${GIT_BRANCH}) --compression=xz ; \
gbp export-orig --no-pristine-tar --upstream-tag=$(git tag --points-at ${GIT_BRANCH}) --compression=xz ; \
else \
DEB_VERSION=$(echo $KALKUN_VERSION | sed -e "s/-/~/g")~${LAST_COMMIT_DATE} ; \
gbp dch --new-version="$DEB_VERSION" --snapshot --ignore-branch ; \
Expand Down

0 comments on commit 332770f

Please sign in to comment.