Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 8fbe979

Browse files
committed
chore(npm): publish artifacts to npm
Closes #2877
1 parent 8199f4d commit 8fbe979

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/bower/publish.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ function prepare {
7373
cd $TMP_DIR/bower-$repo
7474
replaceJsonProp "bower.json" "version" ".*" "$NEW_VERSION"
7575
replaceJsonProp "bower.json" "angular.*" ".*" "$NEW_VERSION"
76+
replaceJsonProp "package.json" "version" ".*" "$NEW_VERSION"
77+
replaceJsonProp "package.json" "angular.*" ".*" "$NEW_VERSION"
7678

7779
git add -A
7880

@@ -90,6 +92,7 @@ function publish {
9092
cd $TMP_DIR/bower-$repo
9193
git push origin master
9294
git push origin v$NEW_VERSION
95+
npm publish
9396
cd $SCRIPT_DIR
9497
done
9598
}

0 commit comments

Comments
 (0)