From 0113b3f224c9df9230558cf8765cec55cd288fd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Gorej?= Date: Sun, 11 Jun 2023 21:03:50 +0200 Subject: [PATCH] chore(release): prepare configuration for switching to beta channel (#8914) Refs #8684 --- flavors/swagger-ui-react/release/run.sh | 2 +- package.json | 2 +- swagger-ui-dist-package/deploy.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flavors/swagger-ui-react/release/run.sh b/flavors/swagger-ui-react/release/run.sh index 84292aad..cdfbf706 100755 --- a/flavors/swagger-ui-react/release/run.sh +++ b/flavors/swagger-ui-react/release/run.sh @@ -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 diff --git a/package.json b/package.json index 6105e1f9..f1f3b9fc 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/swagger-ui-dist-package/deploy.sh b/swagger-ui-dist-package/deploy.sh index 836ccc3a..aa9ce947 100755 --- a/swagger-ui-dist-package/deploy.sh +++ b/swagger-ui-dist-package/deploy.sh @@ -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