chore: prepare release infra for stable v5.0.0 (#8920)

Refs #8915
This commit is contained in:
Vladimír Gorej
2023-06-12 18:59:01 +02:00
committed by GitHub
parent 4cc8ecb790
commit 6ab48239c1
4 changed files with 4 additions and 5 deletions

View File

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

View File

@@ -25,7 +25,7 @@
],
"license": "Apache-2.0",
"scripts": {
"automated-release": "release-it --preRelease=beta --verbose --config ./release/.release-it.json",
"automated-release": "release-it -VV --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",

View File

@@ -22,8 +22,7 @@
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"ignoreRecommendedBump": true
"preset": "angular"
}
}
}

View File

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