Skip to content

Commit 724e972

Browse files
committed
chore(release): debug the prerelease process
1 parent 0ee659e commit 724e972

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"delayed_karma": "sleep 10 && karma start",
1414
"build": "rimraf dist && node tools/build.js && npm pack ./dist/packages-dist",
1515
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
16-
"build:wrapper": "npm i --prefix wrapper && VERSION=5.2.2 npm run --prefix wrapper build && npm pack ./dist/wrapper-dist"
16+
"build:wrapper": "npm i --prefix wrapper && npm run --prefix wrapper build && npm pack ./dist/wrapper-dist"
1717
},
1818
"schematics": "./dist/packages-dist/collection.json",
1919
"builders": "./dist/packages-dist/builders.json",

tools/build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ else
88
export VERSION=$(npm version | head -n 1 | sed "s/^.*: '\([^']*\).*/\1/")-canary.$SHORT_SHA
99
fi
1010

11-
npm version $VERSION
12-
yarn build
11+
echo $VERSION &&
12+
npm version $VERSION &&
13+
yarn build &&
1314
yarn build:wrapper

0 commit comments

Comments
 (0)