Compare commits
2 commits
689ef096a4
...
fd1317cce6
Author | SHA1 | Date | |
---|---|---|---|
|
fd1317cce6 | ||
|
ed87cd09f0 |
2 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
|
|
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