Skip to content

Commit

Permalink
ci: setup semantic-release for v2 deployments
Browse files Browse the repository at this point in the history
To continue supporting v2 of our SDK, this commit configures the semantic-release deployment tool to create 2.x deployments when we make new merges into v2 branch.
  • Loading branch information
levibostian committed Mar 25, 2024
1 parent 39a660d commit 51e0d92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
type: string

push:
branches: [beta, main, v1] # all branches where deployments currently occur. Make sure this list matches list of branches in `.releaserc` file.
branches: [beta, main, v1, v2] # all branches where deployments currently occur. Make sure this list matches list of branches in `.releaserc` file.

permissions:
contents: write # access to push the git tag
Expand Down
1 change: 1 addition & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"tagFormat": "${version}",
"branches": [
"main",
{ "name": "v2", "range": "2.x" },
{ "name": "beta", "prerelease": true },
{ "name": "alpha", "prerelease": true }
],
Expand Down

0 comments on commit 51e0d92

Please sign in to comment.