Skip to content

Commit

Permalink
Merge pull request #980 from SergeAstapov/patch-1
Browse files Browse the repository at this point in the history
Copy README.md and LICENSE.md to addon folder during release
  • Loading branch information
NullVoxPopuli authored Sep 16, 2024
2 parents d18dfa5 + 671d066 commit a111e88
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions addon/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@
/package.json.ember-try

.eslintcache

# The authoritative copies of these live in the monorepo root (because they're
# more useful on github that way), but the build copies them into here so they
# will also appear in published NPM packages.
/README.md
/LICENSE.md
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
"release-it": "^15.6.0"
},
"release-it": {
"hooks": {
"before:init": "cp README.md LICENSE.md addon/"
},
"plugins": {
"@release-it-plugins/workspaces": {
"publish": false
Expand Down

0 comments on commit a111e88

Please sign in to comment.