@@ -1,6 +1,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
!README.md
|
!README.md
|
||||||
|
!NOTICE
|
||||||
!package.json
|
!package.json
|
||||||
!dist/swagger-ui.js
|
!dist/swagger-ui.js
|
||||||
!dist/swagger-ui.js.map
|
!dist/swagger-ui.js.map
|
||||||
|
|||||||
3
LICENSE
3
LICENSE
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
Apache License
|
Apache License
|
||||||
Version 2.0, January 2004
|
Version 2.0, January 2004
|
||||||
http://www.apache.org/licenses/
|
http://www.apache.org/licenses/
|
||||||
@@ -186,7 +187,7 @@
|
|||||||
same "printed page" as the copyright notice for easier
|
same "printed page" as the copyright notice for easier
|
||||||
identification within third-party archives.
|
identification within third-party archives.
|
||||||
|
|
||||||
Copyright 2020 SmartBear Software Inc.
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
NOTICE
Normal file
2
NOTICE
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
swagger-ui
|
||||||
|
Copyright 2020-2021 SmartBear Software Inc.
|
||||||
@@ -23,6 +23,10 @@ node create-manifest.js > ../dist/package.json
|
|||||||
# Copy our README into the dist folder for npm
|
# Copy our README into the dist folder for npm
|
||||||
cp ../README.md ../dist
|
cp ../README.md ../dist
|
||||||
|
|
||||||
|
# Copy LICENSE & NOTICE into the dist folder for npm
|
||||||
|
cp ../../../LICENSE ../dist
|
||||||
|
cp ../../../NOTICE ../dist
|
||||||
|
|
||||||
# Run the release from the dist folder
|
# Run the release from the dist folder
|
||||||
cd ../dist
|
cd ../dist
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,10 @@ sed -i "s|\$\$VERSION|$UI_VERSION|g" package.json
|
|||||||
# Copy UI's dist files to our directory
|
# Copy UI's dist files to our directory
|
||||||
cp ../dist/* .
|
cp ../dist/* .
|
||||||
|
|
||||||
|
# Copy LICENSE & NOTICE to our directory
|
||||||
|
cp ../LICENSE .
|
||||||
|
cp ../NOTICE .
|
||||||
|
|
||||||
if [ "$PUBLISH_DIST" = "true" ] || [ "$TRAVIS" = "true" ] ; then
|
if [ "$PUBLISH_DIST" = "true" ] || [ "$TRAVIS" = "true" ] ; then
|
||||||
npm publish .
|
npm publish .
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user