Bash updates

This commit is contained in:
Rory Powell 2022-04-22 10:40:17 +01:00
parent e2e5f73549
commit 35e18e7ac1
2 changed files with 4 additions and 6 deletions

View File

@ -25,8 +25,8 @@
"build": "lerna run build",
"release": "lerna publish patch --yes --force-publish && yarn release:pro",
"release:develop": "lerna publish prerelease --yes --force-publish --dist-tag develop && yarn release:pro:develop",
"release:pro": "sh ./scripts/pro/release.sh",
"release:pro:develop": "sh ./scripts/pro/release.sh develop",
"release:pro": "sh scripts/pro/release.sh",
"release:pro:develop": "sh scripts/pro/release.sh develop",
"restore": "yarn run clean && yarn run bootstrap && yarn run build",
"nuke": "yarn run nuke:packages && yarn run nuke:docker",
"nuke:packages": "yarn run restore",

View File

@ -19,8 +19,7 @@ echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
# Determine tag to use
TAG=""
if [[ $COMMAND == "develop" ]]
then
if [[ $COMMAND == "develop" ]]; then
TAG="develop"
else
TAG="latest"
@ -32,8 +31,7 @@ lerna publish $VERSION --yes --force-publish --dist-tag $TAG
cd -
if [[ $COMMAND == "develop" ]]
then
if [[ $COMMAND == "develop" ]]; then
# Pin pro version for develop container build
echo "Pinning pro version"
cd packages/server