diff --git a/.github/workflows/release-python.yaml b/.github/workflows/release-python.yaml index c39902c..7d1f61a 100644 --- a/.github/workflows/release-python.yaml +++ b/.github/workflows/release-python.yaml @@ -2,17 +2,22 @@ name: "[auto] release-python" on: push: - tags: + branches: - v* + create: + env: PYTHON_VERSION: "3.10" jobs: - build: + release: name: Release new version to PyPI runs-on: ubuntu-latest steps: + - name: Show the env + run: env + - name: Check version format vMAJOR.MINOR.PATCH(-SUFFIX) run: | if [[ ! "$GITHUB_REF_NAME" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9]+(\.[a-zA-Z0-9]+)*)?$ ]]; then