Skip to content

Commit

Permalink
fix(tools): handle release branch as prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
naomi-lgbt committed Nov 13, 2024
1 parent 71771f7 commit b77a6d0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ jobs:
- name: Create a release
run: npx semantic-release
with:
branches:
[
"+([0-9])?(.{+([0-9]),x}).x",
"master",
"main",
"next",
"next-major",
{ name: "beta", prerelease: true },
{ name: "alpha", prerelease: true },
{ name: "release/*", prerelease: true },
]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit b77a6d0

Please sign in to comment.