Merge pull request #5535 from Budibase/pro-build-fixes

Update release script
This commit is contained in:
Rory Powell 2022-04-22 11:39:18 +01:00 committed by GitHub
commit 3071ab83b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -74,6 +74,6 @@
"mode:account": "yarn mode:cloud && yarn env:account:enable",
"security:audit": "node scripts/audit.js",
"postinstall": "husky install",
"install:pro": "sh ./scripts/pro/install.sh"
"install:pro": "bash scripts/pro/install.sh"
}
}

View File

@ -30,8 +30,10 @@ echo "Releasing tag $TAG"
lerna publish $VERSION --yes --force-publish --dist-tag $TAG
# reset main and types to point to src for dev
cd packages/pro
jq '.main = "src/index.ts" | .types = "src/index.ts"' package.json > package.json.tmp && mv package.json.tmp package.json
git add package.json
cd ../../
git add packages/pro/package.json
git commit -m 'Prep dev'
git push