Compare commits

...

2 commits

Author SHA1 Message Date
Benjamin Renard
fd1317cce6 CI: Try agin fixing CI steps conditions
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline failed
2022-04-28 00:01:54 +02:00
Benjamin Renard
ed87cd09f0 CI/build.sh: remove debian source directory in CI job instead of build.sh script 2022-04-27 23:59:23 +02:00
2 changed files with 5 additions and 6 deletions

View file

@ -18,17 +18,19 @@ pipeline:
build:
image: debian
when:
tag: v*
event: tag
branch: master
commands:
- DEBIAN_FRONTEND=noninteractive apt-get -qq update < /dev/null > /dev/null
- 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:
tag: v*
event: tag
branch: master
settings:
api_key:
from_secret: gitea_token

View file

@ -87,6 +87,3 @@ EOF
echo "Build debian package..."
dpkg-buildpackage --no-sign
echo "Remove debian source directory..."
rm -fr deb_dist/mylib-*