Skip to content

Commit

Permalink
feat: release branch (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
d0choa authored Dec 14, 2023
1 parent 5e484f6 commit e51294b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release

"on":
push:
branches: ["main", "master"]
branches: ["main", "master", "release/**"]

concurrency:
group: deploy
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit e51294b

Please sign in to comment.