If source is newer than pypi, exit 0 and continue pipeline

This commit is contained in:
2022-11-25 00:33:22 +01:00
parent fa59acfd03
commit 7d4f4d0e9b
3 changed files with 33 additions and 5 deletions

View File

@@ -38,14 +38,19 @@ platform:
arch: amd64
steps:
- name: Newer version to publish?
image: python:3.10
commands:
- bash publish_version?.sh
- name: Test PyPi publish
image: python:3.10
commands:
- make dist
- pip3 install -r requirements.txt
- pip3 install twine
- twine check dist/*
- twine upload --repository delugeClient-kevin dist/*
- make dist
- pip3 install -r requirements.txt
- pip3 install twine
- twine check dist/*
- twine upload --repository delugeClient-kevin dist/*
- name: PyPi publish
image: python:3.10