Add main or master branch condition

This commit is contained in:
RealStickman 2022-09-13 14:56:03 +02:00
parent 5f7c16b566
commit 0c6a3edb34

View File

@ -3,6 +3,7 @@ pipeline:
image: python:latest
when:
event: tag
branch: [ main, master ]
commands:
- python --version
- pip install -U build --quiet
@ -12,6 +13,7 @@ pipeline:
image: python:latest
when:
event: tag
branch: [ main, master ]
secrets: [ twine_username, twine_password ]
commands:
- pip install -U twine --quiet