1
0
Fork 0
mirror of synced 2024-06-29 19:41:03 +12:00

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