CI/build.sh: remove debian source directory in CI job instead of build.sh script
This commit is contained in:
parent
689ef096a4
commit
ed87cd09f0
2 changed files with 1 additions and 4 deletions
|
@ -24,7 +24,7 @@ pipeline:
|
|||
- DEBIAN_FRONTEND=noninteractive apt-get -y -qq upgrade < /dev/null > /dev/null
|
||||
- DEBIAN_FRONTEND=noninteractive apt-get -qq -y install --no-install-recommends git sed python3-all python3-dev python3-pip python3-venv dpkg-dev build-essential debhelper dh-python bash-completion lsb-release < /dev/null > /dev/null
|
||||
- ./build.sh --quiet
|
||||
- rm -fr deb_dist/python3-mylib-*
|
||||
- rm -fr deb_dist/mylib-*
|
||||
publish:
|
||||
image: plugins/gitea-release
|
||||
when:
|
||||
|
|
3
build.sh
3
build.sh
|
@ -87,6 +87,3 @@ EOF
|
|||
|
||||
echo "Build debian package..."
|
||||
dpkg-buildpackage --no-sign
|
||||
|
||||
echo "Remove debian source directory..."
|
||||
rm -fr deb_dist/mylib-*
|
||||
|
|
Loading…
Reference in a new issue