build: update publish scripts and package.json

This commit is contained in:
Igor Minar 2016-05-02 20:45:05 -06:00
parent 00d3b6083c
commit 18b6a55764
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "angular-srcs",
"version": "2.0.0-beta.17",
"version": "2.0.0-rc.0",
"private": true,
"branchPattern": "2.0.*",
"description": "Angular 2 - a web framework for modern web apps",

View File

@ -15,7 +15,7 @@ fi
./build.sh
echo "====== RENAMING \$\$ANGULAR_VERSION\$\$ to 0.0.0-${VERSION} ======"
find ./dist/packages-dist/ -type f -name package.json -print0 | xargs -0 sed -i '' "s/\\\$\\\$ANGULAR_VERSION\\\$\\\$/0.0.0-${VERSION}/g"
find ./dist/packages-dist/ -type f -name package.json -print0 | xargs -0 sed -i '' "s/\\\$\\\$ANGULAR_VERSION\\\$\\\$/2.0.0-rc.${VERSION}/g"
for PACKAGE in \
core \