Bash updates
This commit is contained in:
parent
6dfc372a49
commit
4aaeb74bad
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue