1
0
Fork 0
mirror of synced 2024-06-01 18:20:18 +12:00

Update release script

This commit is contained in:
Rory Powell 2022-04-22 11:37:55 +01:00
parent 6c1bfb0d84
commit a736c507d1
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