From e51294be134207a3264abefb189b80d4596fb7c8 Mon Sep 17 00:00:00 2001 From: David Ochoa Date: Thu, 14 Dec 2023 22:00:39 +0000 Subject: [PATCH] feat: release branch (#350) --- .github/workflows/release.yaml | 4 ++-- pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d3ea65798..79273c679 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -2,7 +2,7 @@ name: Release "on": push: - branches: ["main", "master"] + branches: ["main", "master", "release/**"] concurrency: group: deploy @@ -110,7 +110,7 @@ jobs: fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v with: python-version: ${{ env.PYTHON_VERSION_DEFAULT }} - name: Install and configure Poetry diff --git a/pyproject.toml b/pyproject.toml index 623507ab2..3d1d6355f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -89,8 +89,8 @@ upload_to_release = true match = "(main|master)" prerelease = false -[tool.semantic_release.branches."0.x.x"] -match = "0.x.x" +[tool.semantic_release.branches."release"] +match = "release/*" prerelease = true prerelease_token = "rc"