Skip to content

Commit 3632568

Browse files
committed
fix: 🐛 fix semantic release config
1 parent c90b6f2 commit 3632568

File tree

2 files changed

+30
-19
lines changed

2 files changed

+30
-19
lines changed

.github/workflows/release-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
name: Build and release
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@master
21+
- uses: actions/checkout@v2
2222
- uses: actions/setup-node@v1
2323
with:
2424
node-version: '14.x'

.releaserc.json

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,38 @@
11
{
22
"branches": [
3-
"+([0-9])?(.{+([0-9]),x}).x",
4-
"master",
5-
"next",
6-
"next-major",
7-
{"name": "beta", "prerelease": true},
8-
{"name": "alpha", "prerelease": true}
3+
"master",
4+
"next",
5+
"next-major",
6+
{
7+
"name": "beta",
8+
"prerelease": true
9+
},
10+
{
11+
"name": "alpha",
12+
"prerelease": true
13+
}
914
],
1015
"plugins": [
1116
"@semantic-release/commit-analyzer",
1217
"@semantic-release/release-notes-generator",
1318
"@semantic-release/npm",
14-
["@semantic-release/exec", {
15-
"prepareCmd": "zip vue-quill-dist.zip -r dist"
16-
}],
17-
["@semantic-release/github", {
18-
"assets": [
19-
{
20-
"path": "vue-quill-dist.zip",
21-
"name": "vue-quill-dist-${nextRelease.gitTag}.zip",
22-
"label": "Distribution code (zip)"
23-
}
24-
]
25-
}]
19+
[
20+
"@semantic-release/exec",
21+
{
22+
"prepareCmd": "zip vue-quill-dist.zip -r dist"
23+
}
24+
],
25+
[
26+
"@semantic-release/github",
27+
{
28+
"assets": [
29+
{
30+
"path": "vue-quill-dist.zip",
31+
"name": "vue-quill-dist-${nextRelease.gitTag}.zip",
32+
"label": "Distribution code (zip)"
33+
}
34+
]
35+
}
36+
]
2637
]
2738
}

0 commit comments

Comments
 (0)