Skip to content

Commit

Permalink
chore: update the semantic release configuration to properly support …
Browse files Browse the repository at this point in the history
…release branches (#238)

Signed-off-by: Nathan Klick <nathan@swirldslabs.com>
  • Loading branch information
nathanklick authored Aug 3, 2023
1 parent 022b03d commit 172b5ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
"name": "main"
},
{
"name": "release/+([0-9])?(.{+([0-9]),x}).x"
"name": "release/([0-9]+).([0-9]+)",
"channel": "${name.replace(/release\\//g, '').split('.')[0]}.${name.replace(/release\\//g, '').split('.')[1]}.x",
"range": "${name.replace(/release\\//g, '').split('.')[0]}.${name.replace(/release\\//g, '').split('.')[1]}.x"
},
{
"name": "alpha/*",
Expand Down

0 comments on commit 172b5ba

Please sign in to comment.