Skip to content

Commit f048472

Browse files
committed
docs(LICENSE): apply Apache 2.0 License correctly
1 parent 4bddb7a commit f048472

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
*
22
*/
33
!README.md
4+
!NOTICE
45
!package.json
56
!dist/swagger-editor.js
67
!dist/swagger-editor.js.map

LICENSE

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
Apache License
23
Version 2.0, January 2004
34
http://www.apache.org/licenses/
@@ -186,7 +187,7 @@
186187
same "printed page" as the copyright notice for easier
187188
identification within third-party archives.
188189

189-
Copyright 2020 SmartBear Software Inc.
190+
Copyright [yyyy] [name of copyright owner]
190191

191192
Licensed under the Apache License, Version 2.0 (the "License");
192193
you may not use this file except in compliance with the License.

NOTICE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
swagger-editor
2+
Copyright 2020-2021 SmartBear Software Inc.

swagger-editor-dist-package/deploy.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ rm package.json.bak
1313
# Copy Editor's dist files to our directory
1414
cp ../dist/* .
1515

16+
# Copy LICENSE & NOTICE to our directory
17+
cp ../LICENSE .
18+
cp ../NOTICE .
19+
1620
# Copy index.html
1721
cp ../index.html .
1822

0 commit comments

Comments
 (0)