Pro build fixes
This commit is contained in:
parent
df5f9c1fef
commit
da3e78a37f
|
@ -70,7 +70,7 @@
|
||||||
"@apidevtools/swagger-parser": "^10.0.3",
|
"@apidevtools/swagger-parser": "^10.0.3",
|
||||||
"@budibase/backend-core": "^1.0.105-alpha.27",
|
"@budibase/backend-core": "^1.0.105-alpha.27",
|
||||||
"@budibase/client": "^1.0.105-alpha.27",
|
"@budibase/client": "^1.0.105-alpha.27",
|
||||||
"@budibase/pro": "1.0.105-alpha.25",
|
"@budibase/pro": "1.0.105-alpha.27",
|
||||||
"@budibase/string-templates": "^1.0.105-alpha.27",
|
"@budibase/string-templates": "^1.0.105-alpha.27",
|
||||||
"@bull-board/api": "^3.7.0",
|
"@bull-board/api": "^3.7.0",
|
||||||
"@bull-board/koa": "^3.7.0",
|
"@bull-board/koa": "^3.7.0",
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@budibase/backend-core": "^1.0.105-alpha.27",
|
"@budibase/backend-core": "^1.0.105-alpha.27",
|
||||||
"@budibase/string-templates": "^1.0.105-alpha.27",
|
"@budibase/string-templates": "^1.0.105-alpha.27",
|
||||||
"@budibase/pro": "1.0.105-alpha.25",
|
"@budibase/pro": "1.0.105-alpha.27",
|
||||||
"@koa/router": "^8.0.0",
|
"@koa/router": "^8.0.0",
|
||||||
"@sentry/node": "6.17.7",
|
"@sentry/node": "6.17.7",
|
||||||
"@techpass/passport-openidconnect": "^0.3.0",
|
"@techpass/passport-openidconnect": "^0.3.0",
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
if [[ -z "${CI}" ]]; then
|
if [[ -z "${CI}" ]]; then
|
||||||
echo 'Cannot run insall.sh unless in CI'
|
echo 'Cannot run insall.sh unless in CI'
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1,19 +1,23 @@
|
||||||
if [[ -z "${CI}" ]]; then
|
#!/bin/bash
|
||||||
echo 'Cannot run release.sh unless in CI'
|
|
||||||
exit 0
|
# if [[ -z "${CI}" ]]; then
|
||||||
fi
|
# echo 'Cannot run release.sh unless in CI'
|
||||||
|
# exit 0
|
||||||
|
# fi
|
||||||
|
|
||||||
# Release pro as same version as budibase
|
# Release pro as same version as budibase
|
||||||
VERSION=$(jq -r .version lerna.json)
|
VERSION=$(jq -r .version lerna.json)
|
||||||
|
echo "Version: $VERSION"
|
||||||
|
COMMAND=$1
|
||||||
|
echo "Command: $COMMAND"
|
||||||
|
|
||||||
# Go to pro package
|
# Go to pro package
|
||||||
cd ../budibase-pro
|
cd ../budibase-pro
|
||||||
|
|
||||||
# Install NPM credentials
|
# Install NPM credentials
|
||||||
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
|
# echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
|
||||||
|
|
||||||
# Determine tag to use
|
# Determine tag to use
|
||||||
COMMAND=$1
|
|
||||||
TAG=""
|
TAG=""
|
||||||
if [[ $COMMAND == "develop" ]]
|
if [[ $COMMAND == "develop" ]]
|
||||||
then
|
then
|
||||||
|
@ -24,7 +28,7 @@ fi
|
||||||
|
|
||||||
echo "Releasing version $VERSION"
|
echo "Releasing version $VERSION"
|
||||||
echo "Releasing tag $TAG"
|
echo "Releasing tag $TAG"
|
||||||
lerna publish $VERSION --yes --force-publish --dist-tag $TAG
|
# lerna publish $VERSION --yes --force-publish --dist-tag $TAG
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue