Merge pull request #5535 from Budibase/pro-build-fixes
Update release script
This commit is contained in:
commit
e69cb8b67e
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue