File tree 5 files changed +13
-1
lines changed
flavors/swagger-ui-react/release
5 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1
1
*
2
2
* /
3
3
! README.md
4
+ ! NOTICE
4
5
! package.json
5
6
! dist /swagger-ui.js
6
7
! dist /swagger-ui.js.map
Original file line number Diff line number Diff line change
1
+
1
2
Apache License
2
3
Version 2.0, January 2004
3
4
http://www.apache.org/licenses/
186
187
same "printed page" as the copyright notice for easier
187
188
identification within third-party archives.
188
189
189
- Copyright 2020 SmartBear Software Inc.
190
+ Copyright [yyyy] [name of copyright owner]
190
191
191
192
Licensed under the Apache License, Version 2.0 (the "License");
192
193
you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
1
+ swagger-ui
2
+ Copyright 2020-2021 SmartBear Software Inc.
Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ node create-manifest.js > ../dist/package.json
23
23
# Copy our README into the dist folder for npm
24
24
cp ../README.md ../dist
25
25
26
+ # Copy LICENSE & NOTICE into the dist folder for npm
27
+ cp ../../../LICENSE ../dist
28
+ cp ../../../NOTICE ../dist
29
+
26
30
# Run the release from the dist folder
27
31
cd ../dist
28
32
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ sed -i "s|\$\$VERSION|$UI_VERSION|g" package.json
12
12
# Copy UI's dist files to our directory
13
13
cp ../dist/* .
14
14
15
+ # Copy LICENSE & NOTICE to our directory
16
+ cp ../LICENSE .
17
+ cp ../NOTICE .
18
+
15
19
if [ " $PUBLISH_DIST " = " true" ] || [ " $TRAVIS " = " true" ] ; then
16
20
npm publish .
17
21
else
You can’t perform that action at this time.
0 commit comments