diff --git a/.woodpecker/release.yml b/.woodpecker/release.yml index 10c335e..d9fc2c7 100644 --- a/.woodpecker/release.yml +++ b/.woodpecker/release.yml @@ -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