Skip to content

Commit a73038e

Browse files
committed
fix: updating release order
1 parent f8f1e24 commit a73038e

File tree

2 files changed

+10
-15
lines changed

2 files changed

+10
-15
lines changed

.releaserc

+10-11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"ci": true,
23
"branches": [
34
{ "name": "+([0-9])?(.{+([0-9]),x}).x", "range": "1.x.x", "channel": "v1" },
45
"main",
@@ -15,9 +16,15 @@
1516
}
1617
],
1718
[
18-
"@semantic-release/npm",
19+
"@semantic-release/github",
1920
{
20-
"npmPublish": false
21+
"assets": [
22+
"bin/index.js",
23+
"CHANGELOG.md",
24+
"README.md",
25+
"package.json",
26+
"yarn.lock"
27+
]
2128
}
2229
],
2330
[
@@ -30,15 +37,7 @@
3037
"package.json",
3138
"yarn.lock"
3239
],
33-
"message": "chore: release ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
34-
}
35-
],
36-
[
37-
"@semantic-release/github",
38-
{
39-
"assets": [{
40-
"path": "bin"
41-
}]
40+
"message": "chore: release <%= nextRelease.version %> - <%= new Date().toLocaleDateString('en-US', {year: 'numeric', month: 'short', day: 'numeric', hour: 'numeric', minute: 'numeric' }) %> [skip ci]\n\n<%= nextRelease.notes %>"
4241
}
4342
]
4443
]

package.json

-4
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@
3939
"@commitlint/cli": "^17.5.1",
4040
"@commitlint/config-conventional": "^17.4.4",
4141
"@semantic-release/changelog": "^6.0.3",
42-
"@semantic-release/commit-analyzer": "^9.0.2",
4342
"@semantic-release/git": "^10.0.1",
44-
"@semantic-release/github": "^8.0.7",
45-
"@semantic-release/npm": "^10.0.2",
46-
"@semantic-release/release-notes-generator": "^11.0.1",
4743
"@types/jest": "^29.5.1",
4844
"@types/node": "^20.2.3",
4945
"@typescript-eslint/eslint-plugin": "^5.59.7",

0 commit comments

Comments
 (0)