chore(release): prepare configuration for switching to beta channel (#8914)

Refs #8684
This commit is contained in:
Vladimír Gorej
2023-06-11 21:03:50 +02:00
committed by GitHub
parent 12c7493018
commit 0113b3f224
3 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ cp ../../../NOTICE ../dist
cd ../dist cd ../dist
if [ "$PUBLISH_FLAVOR_REACT" = "true" ] ; then if [ "$PUBLISH_FLAVOR_REACT" = "true" ] ; then
npm publish . --tag alpha npm publish . --tag beta
else else
npm pack . npm pack .
fi fi

View File

@@ -24,7 +24,7 @@
], ],
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "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": "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-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", "build-stylesheets": "webpack --color --config webpack/stylesheets.babel.js",

View File

@@ -17,7 +17,7 @@ cp ../LICENSE .
cp ../NOTICE . cp ../NOTICE .
if [ "$PUBLISH_DIST" = "true" ] || [ "$TRAVIS" = "true" ] ; then if [ "$PUBLISH_DIST" = "true" ] || [ "$TRAVIS" = "true" ] ; then
npm publish . --tag alpha npm publish . --tag beta
else else
npm pack . npm pack .
fi fi