X Tutup
Skip to content

Commit e607f00

Browse files
committed
WIP: stuff for publishing
1 parent 8de21e3 commit e607f00

File tree

3 files changed

+14
-22
lines changed

3 files changed

+14
-22
lines changed

bump-versions.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.

modules/@angular/http/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"license": "MIT",
1010
"peerDependencies": {
1111
"rxjs": "5.0.0-beta.2",
12-
"@angular/core": "$$ANGULAR_VERSION$$"
12+
"@angular/core": "$$ANGULAR_VERSION$$",
1313
"@angular/facade": "$$ANGULAR_VERSION$$"
1414
}
1515
}

publish-igorminar.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,28 @@
33
set -ex
44

55
cd `dirname $0`
6+
7+
VERSION=$1
8+
9+
if [[ "${VERSION}" == "" ]]
10+
then
11+
echo "Version number required"
12+
exit 1
13+
fi
14+
615
./build.sh
716

817
echo "====== RENAMING @angular to @igorminar ======"
918
find ./dist/packages-dist/ -type f -print0 | xargs -0 sed -i '' 's/\@angular/\@igorminar/g'
1019

20+
echo "====== RENAMING @angular to @igorminar ======"
21+
find ./dist/packages-dist/ -type f -name package.json -print0 | xargs -0 sed -i '' "s/\\\$\\\$ANGULAR_VERSION\\\$\\\$/${VERSION}/g"
22+
1123
for PACKAGE in \
1224
core \
1325
compiler \
1426
common \
27+
facade \
1528
http \
1629
platform-browser \
1730
platform-server \

0 commit comments

Comments
 (0)
X Tutup