2022-06-10 18:12:04 +00:00
|
|
|
pipeline:
|
|
|
|
# tests:
|
|
|
|
# image: python:3
|
|
|
|
# commands:
|
|
|
|
# - pip install -U pip wheel pytest PyQt5 PyQtWebEngine
|
|
|
|
# - pytest
|
|
|
|
# when:
|
|
|
|
# branch: master
|
|
|
|
build:
|
|
|
|
image: python:3
|
|
|
|
commands:
|
2022-06-13 15:00:11 +00:00
|
|
|
- git fetch origin master
|
2022-06-10 18:12:04 +00:00
|
|
|
- pip install -U pip wheel hatch hatch-vcs
|
|
|
|
- hatch build
|
|
|
|
when:
|
|
|
|
branch: master
|
|
|
|
release:
|
|
|
|
image: python:3
|
|
|
|
commands:
|
2022-06-13 15:00:11 +00:00
|
|
|
- git fetch origin master
|
2022-06-10 18:12:04 +00:00
|
|
|
- pip install -U pip wheel hatch hatch-vcs
|
|
|
|
- hatch build
|
|
|
|
- hatch publish
|
2022-06-10 19:44:59 +00:00
|
|
|
secrets:
|
2022-06-10 19:53:47 +00:00
|
|
|
- hatch_pypi_user
|
|
|
|
- hatch_pypi_auth
|
2022-06-10 18:12:04 +00:00
|
|
|
when:
|
|
|
|
event: tag
|