Compare commits
No commits in common. "fd1317cce68020400f1f76549dec5dc30c56e2c0" and "689ef096a487a46ece7f7c5384ab5290aae81b0e" have entirely different histories.
fd1317cce6
...
689ef096a4
2 changed files with 6 additions and 5 deletions
|
@ -18,19 +18,17 @@ pipeline:
|
||||||
build:
|
build:
|
||||||
image: debian
|
image: debian
|
||||||
when:
|
when:
|
||||||
event: tag
|
tag: v*
|
||||||
branch: master
|
|
||||||
commands:
|
commands:
|
||||||
- DEBIAN_FRONTEND=noninteractive apt-get -qq update < /dev/null > /dev/null
|
- 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 -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
|
- 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
|
- ./build.sh --quiet
|
||||||
- rm -fr deb_dist/mylib-*
|
- rm -fr deb_dist/python3-mylib-*
|
||||||
publish:
|
publish:
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
when:
|
when:
|
||||||
event: tag
|
tag: v*
|
||||||
branch: master
|
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
|
|
3
build.sh
3
build.sh
|
@ -87,3 +87,6 @@ EOF
|
||||||
|
|
||||||
echo "Build debian package..."
|
echo "Build debian package..."
|
||||||
dpkg-buildpackage --no-sign
|
dpkg-buildpackage --no-sign
|
||||||
|
|
||||||
|
echo "Remove debian source directory..."
|
||||||
|
rm -fr deb_dist/mylib-*
|
||||||
|
|
Loading…
Reference in a new issue