Browse Source
Merge pull request #5535 from Budibase/pro-build-fixes
Update release script
pull/5536/head
Rory Powell
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
2 deletions
-
package.json
-
scripts/pro/release.sh
|
|
|
@ -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 |
|
|
|
|
|
|
|
|