Skip to content

Commit b1d022b

Browse files
committed
chore: setup semantic release
1 parent 5ad57f7 commit b1d022b

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ jobs:
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
37-
run: npx semantic-release -d
37+
run: npx semantic-release

.releaserc

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
{
2-
"branches": ["master", "next", "chore/setup-semantic"]
2+
"branches": ["master", "next", "chore/setup-semantic"],
3+
"plugins": [
4+
"@semantic-release/commit-analyzer",
5+
"@semantic-release/release-notes-generator",
6+
["@semantic-release/npm", {
7+
"npmPublish": false,
8+
"pkgRoot": "dist/apps/generator-cli",
9+
"tarballDir": "dist/apps"
10+
}],
11+
["@semantic-release/github", {
12+
"assets": "dist/*.tgz"
13+
}]
14+
]
315
}

0 commit comments

Comments
 (0)