Skip to content

Commit a111e88

Browse files
Merge pull request #980 from SergeAstapov/patch-1
Copy README.md and LICENSE.md to addon folder during release
2 parents d18dfa5 + 671d066 commit a111e88

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

addon/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,9 @@
2525
/package.json.ember-try
2626

2727
.eslintcache
28+
29+
# The authoritative copies of these live in the monorepo root (because they're
30+
# more useful on github that way), but the build copies them into here so they
31+
# will also appear in published NPM packages.
32+
/README.md
33+
/LICENSE.md

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
"release-it": "^15.6.0"
3434
},
3535
"release-it": {
36+
"hooks": {
37+
"before:init": "cp README.md LICENSE.md addon/"
38+
},
3639
"plugins": {
3740
"@release-it-plugins/workspaces": {
3841
"publish": false

0 commit comments

Comments
 (0)