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