Skip to content

Commit fc08be1

Browse files
committed
fix(workspace): copy readme on release, add after_deploy hook
1 parent 19a5cac commit fc08be1

File tree

3 files changed

+3
-26
lines changed

3 files changed

+3
-26
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ after_success:
2222
- codecov
2323
before_deploy:
2424
- cd dist/elements
25+
after_deploy:
26+
- cd ../../
2527
deploy:
2628
- provider: npm
2729
email: tomas.trajan@gmail.com

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"ci": "npm run test && npm run build",
1313
"format:write": "prettier projects/**/*.{ts,json,md} --write",
1414
"format:test": "prettier projects/**/*.{ts,json,md} --list-different",
15-
"release": "npm run test && npm run build && standard-version -a && git push --follow-tags origin master"
15+
"release": "npm run test && npm run build && cpx README.md dist/elements && standard-version -a && git push --follow-tags origin master"
1616
},
1717
"standard-version": {
1818
"scripts": {

projects/elements/README.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)