Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Commit

Permalink
Include license in published packages (#713)
Browse files Browse the repository at this point in the history
Also, update the license dates.
  • Loading branch information
taion authored and istarkov committed Jul 27, 2018
1 parent 416dd33 commit 0dd44e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015-2016 Andrew Clark
Copyright (c) 2015-2018 Andrew Clark

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 3 additions & 0 deletions scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ try {
JSON.stringify(packageConfig, null, 2)
)

log('Copying license...')
cp('-f', 'LICENSE.md', outDir)

log(`Building ${packageName}...`)
const runRollup = () => `yarn build:${packageName}`
if (exec(runRollup()).code !== 0) {
Expand Down

0 comments on commit 0dd44e5

Please sign in to comment.