Skip to content

Commit 87b460b

Browse files
committed
fix: release doc assets to github pages
1 parent 5b97abe commit 87b460b

File tree

3 files changed

+21
-14
lines changed

3 files changed

+21
-14
lines changed

.releaserc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"@semantic-release/exec",
66
{
77
"prepareCmd": "chmod a+x ./bin/version.sh && ./bin/version.sh ${nextRelease.version} && cp -r ./README.md ./dist/toppy",
8-
"successCmd": "node run postpublish && npx json -I -f package.json -e 'this.version=\"${nextRelease.version}\"'"
8+
"successCmd": "npm run postpublish && npx json -I -f package.json -e 'this.version=\"${nextRelease.version}\"'"
99
}
1010
],
1111
[
@@ -36,6 +36,12 @@
3636
"pkgRoot": "dist/toppy"
3737
}
3838
],
39+
[
40+
"@semantic-release/github",
41+
{
42+
"assets": [["dist/toppy"]]
43+
}
44+
],
3945
[
4046
"@semantic-release/git",
4147
{

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
"@semantic-release/changelog": "3.0.1",
5050
"@semantic-release/exec": "3.3.0",
5151
"@semantic-release/git": "7.0.5",
52-
"@semantic-release/github": "5.2.1",
52+
"@semantic-release/github": "^5.2.1",
53+
"@semantic-release/release-notes-generator": "^7.1.3",
5354
"@types/jasmine": "~2.8.8",
5455
"@types/jasminewd2": "~2.0.3",
5556
"@types/node": "~8.9.4",

0 commit comments

Comments
 (0)