Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2023-01-18 23:42:52 +0300
committerPhilipp Hörist <philipp@hoerist.com>2023-01-18 23:57:24 +0300
commit0d0bb0fa6abfcec9f56f0fdf36ca53232015f61a (patch)
treee90c6baac0cb2b54e97ed066c716845012b21dc1 /.gitlab-ci.yml
parent510072da587e0e374296267bde38d63e28ed18d4 (diff)
ci: Use release-helper
- Remove obsolete scripts
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 426066e..e34b056 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,9 +24,10 @@ build-linux:
stage: build
dependencies: []
script:
+ - pip install git+https://dev.gajim.org/gajim/release-helper.git
- pip install build
- python3 -m build
- - python3 .ci/debian_build.py "$(find dist/nbxmpp-*.tar.gz)" 1 --pkgprefix=python3-
+ - release-helper build-debian-pkg "$(find dist/nbxmpp-*.tar.gz)" 1 --pkgprefix=python3 --pkgsuffix=nightly
artifacts:
name: "nbxmpp-$CI_COMMIT_SHA"
@@ -34,6 +35,7 @@ build-linux:
paths:
- dist/nbxmpp-*.tar.gz
- dist/nbxmpp-*.whl
+ - debian_build/python3-nbxmpp*.deb
deploy-pypi:
stage: deploy
@@ -43,3 +45,4 @@ deploy-pypi:
- if: '$CI_COMMIT_TAG'
script:
- python3 .ci/deploy.py
+ - twine upload --username=__token__ --password=$PYPI_TOKEN dist/*