Commit 1145144d authored by Philipp Hörist's avatar Philipp Hörist
Browse files

ci: Don’t build in the deploy stage

parent 06c2be5a
Pipeline #10518 passed with stages
in 43 seconds
......@@ -22,7 +22,7 @@ def build() -> None:
try:
subprocess.run(cmd, cwd=REPO_DIR, check=True)
except subprocess.CalledProcessError:
sys.exit('buid failed')
sys.exit('build failed')
def upload() -> None:
......@@ -41,5 +41,5 @@ def upload() -> None:
if __name__ == '__main__':
build()
# build()
upload()
......@@ -22,6 +22,7 @@ test-pylint:
build-linux:
image: nbxmpp-deb-build:latest
stage: build
dependencies: []
script:
- python3 setup.py sdist
- python3 .ci/debian_build.py "$(find dist/nbxmpp-*)" 1 --pkgprefix=python3-
......@@ -31,9 +32,12 @@ build-linux:
expire_in: 1 week
paths:
- dist/nbxmpp-*.tar.gz
- dist/nbxmpp-*.whl
deploy-pypi:
stage: deploy
dependencies:
- "build-linux"
rules:
- if: '$CI_COMMIT_TAG'
script:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment