commit
d299ed6bf6
|
@ -25,8 +25,8 @@
|
||||||
"build": "lerna run build",
|
"build": "lerna run build",
|
||||||
"release": "lerna publish patch --yes --force-publish && yarn release:pro",
|
"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:develop": "lerna publish prerelease --yes --force-publish --dist-tag develop && yarn release:pro:develop",
|
||||||
"release:pro": "sh ./scripts/pro/release.sh",
|
"release:pro": "sh scripts/pro/release.sh",
|
||||||
"release:pro:develop": "sh ./scripts/pro/release.sh develop",
|
"release:pro:develop": "sh scripts/pro/release.sh develop",
|
||||||
"restore": "yarn run clean && yarn run bootstrap && yarn run build",
|
"restore": "yarn run clean && yarn run bootstrap && yarn run build",
|
||||||
"nuke": "yarn run nuke:packages && yarn run nuke:docker",
|
"nuke": "yarn run nuke:packages && yarn run nuke:docker",
|
||||||
"nuke:packages": "yarn run restore",
|
"nuke:packages": "yarn run restore",
|
||||||
|
|
|
@ -19,8 +19,7 @@ echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
|
||||||
|
|
||||||
# Determine tag to use
|
# Determine tag to use
|
||||||
TAG=""
|
TAG=""
|
||||||
if [[ $COMMAND == "develop" ]]
|
if [[ $COMMAND == "develop" ]]; then
|
||||||
then
|
|
||||||
TAG="develop"
|
TAG="develop"
|
||||||
else
|
else
|
||||||
TAG="latest"
|
TAG="latest"
|
||||||
|
@ -32,8 +31,7 @@ lerna publish $VERSION --yes --force-publish --dist-tag $TAG
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
if [[ $COMMAND == "develop" ]]
|
if [[ $COMMAND == "develop" ]]; then
|
||||||
then
|
|
||||||
# Pin pro version for develop container build
|
# Pin pro version for develop container build
|
||||||
echo "Pinning pro version"
|
echo "Pinning pro version"
|
||||||
cd packages/server
|
cd packages/server
|
||||||
|
|
Loading…
Reference in New Issue