Skip to content

Commit 64a2c07

Browse files
committed
chore(ci): add semantic releases
1 parent 9aca129 commit 64a2c07

File tree

4 files changed

+12048
-3683
lines changed

4 files changed

+12048
-3683
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,8 @@ jobs:
100100
context: .
101101
push: true
102102
tags: ${{ steps.meta.outputs.tags }}
103-
labels: ${{ steps.meta.outputs.labels }}
103+
labels: ${{ steps.meta.outputs.labels }}
104+
- name: Release
105+
env:
106+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
107+
run: npx semantic-release

.releaserc.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"branches": ["main"],
3+
"plugins": [
4+
["@semantic-release/commit-analyzer", {
5+
"preset": "conventionalcommits"
6+
}],
7+
"@semantic-release/release-notes-generator",
8+
"@semantic-release/github"
9+
]
10+
}

0 commit comments

Comments
 (0)