Skip to content

Commit

Permalink
fix: release doc assets to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
lokesh-coder committed Nov 1, 2018
1 parent 5b97abe commit 87b460b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
8 changes: 7 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"@semantic-release/exec",
{
"prepareCmd": "chmod a+x ./bin/version.sh && ./bin/version.sh ${nextRelease.version} && cp -r ./README.md ./dist/toppy",
"successCmd": "node run postpublish && npx json -I -f package.json -e 'this.version=\"${nextRelease.version}\"'"
"successCmd": "npm run postpublish && npx json -I -f package.json -e 'this.version=\"${nextRelease.version}\"'"
}
],
[
Expand Down Expand Up @@ -36,6 +36,12 @@
"pkgRoot": "dist/toppy"
}
],
[
"@semantic-release/github",
{
"assets": [["dist/toppy"]]
}
],
[
"@semantic-release/git",
{
Expand Down
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"@semantic-release/changelog": "3.0.1",
"@semantic-release/exec": "3.3.0",
"@semantic-release/git": "7.0.5",
"@semantic-release/github": "5.2.1",
"@semantic-release/github": "^5.2.1",
"@semantic-release/release-notes-generator": "^7.1.3",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
Expand Down

0 comments on commit 87b460b

Please sign in to comment.