Fix pypi_release.yml workflow to skip rc0 versions (#7327)

This commit is contained in:
Silvano Cerza 2024-03-07 12:09:10 +01:00 committed by GitHub
parent 3dbde84a28
commit d5336e9f72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,9 @@ name: Project release on PyPi
on:
push:
tags:
- "v[0-9].[0-9]+.[0-9]+*"
- "v[0-9]+.[0-9]+.[0-9]+*"
# We must not release versions tagged with -rc0 suffix
- "!v[0-9]+.[0-9]+.[0-9]-rc0"
env:
HATCH_VERSION: "1.9.3"