chore(release): prepare configuration for switching to beta channel (#8914)
Refs #8684
This commit is contained in:
@@ -32,7 +32,7 @@ cp ../../../NOTICE ../dist
|
||||
cd ../dist
|
||||
|
||||
if [ "$PUBLISH_FLAVOR_REACT" = "true" ] ; then
|
||||
npm publish . --tag alpha
|
||||
npm publish . --tag beta
|
||||
else
|
||||
npm pack .
|
||||
fi
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"scripts": {
|
||||
"automated-release": "release-it --preRelease --verbose --config ./release/.release-it.json",
|
||||
"automated-release": "release-it --preRelease=beta --verbose --config ./release/.release-it.json",
|
||||
"build": "npm run build-stylesheets && rimraf ./dist/swagger-ui.js ./dist/swagger-ui.js.map && npm run build-all-bundles",
|
||||
"build-all-bundles": "run-p --aggregate-output build:core build:bundle build:standalone build:es:bundle build:es:bundle:core",
|
||||
"build-stylesheets": "webpack --color --config webpack/stylesheets.babel.js",
|
||||
|
||||
@@ -17,7 +17,7 @@ cp ../LICENSE .
|
||||
cp ../NOTICE .
|
||||
|
||||
if [ "$PUBLISH_DIST" = "true" ] || [ "$TRAVIS" = "true" ] ; then
|
||||
npm publish . --tag alpha
|
||||
npm publish . --tag beta
|
||||
else
|
||||
npm pack .
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user