build(zone.js): Update `zone.js` release process to use `google-wombot` (#36110)
Updated the docs to use the `google-wombot` release process. PR Close #36110
This commit is contained in:
parent
e3ecdc6a63
commit
afc9839f43
|
@ -75,7 +75,7 @@ Releasing `zone.js` is a two step process.
|
||||||
#### 1. Creating a PR for release
|
#### 1. Creating a PR for release
|
||||||
|
|
||||||
```
|
```
|
||||||
export PREVIOUS_ZONE_TAG=`git tag -l 'zone.js-*' | tail -n1`
|
export PREVIOUS_ZONE_TAG=`git tag -l 'zone.js-0.10.*' | tail -n1`
|
||||||
export VERSION=`(cd packages/zone.js; npm version patch --no-git-tag-version)`
|
export VERSION=`(cd packages/zone.js; npm version patch --no-git-tag-version)`
|
||||||
export VERSION=${VERSION#v}
|
export VERSION=${VERSION#v}
|
||||||
export TAG="zone.js-${VERSION}"
|
export TAG="zone.js-${VERSION}"
|
||||||
|
@ -111,9 +111,8 @@ export VERSION=`(node -e "console.log(require('./packages/zone.js/package.json')
|
||||||
export TAG="zone.js-${VERSION}"
|
export TAG="zone.js-${VERSION}"
|
||||||
export SHA=`git log upstream/master --oneline -n 1000 | grep "release: cut the ${TAG} release" | cut -f 1 -d " "`
|
export SHA=`git log upstream/master --oneline -n 1000 | grep "release: cut the ${TAG} release" | cut -f 1 -d " "`
|
||||||
git co ${SHA}
|
git co ${SHA}
|
||||||
yarn bazel \
|
npm login --registry https://wombat-dressing-room.appspot.com
|
||||||
--output_base=$(mktemp -d) run //packages/zone.js:npm_package.publish \
|
yarn bazel -- run --config=release -- //packages/zone.js:npm_package.publish --access public --tag latest
|
||||||
--workspace_status_command="echo BUILD_SCM_VERSION $VERSION"
|
|
||||||
git tag ${TAG} ${SHA}
|
git tag ${TAG} ${SHA}
|
||||||
git push upstream ${TAG}
|
git push upstream ${TAG}
|
||||||
```
|
```
|
|
@ -34,6 +34,9 @@
|
||||||
"url": "git://github.com/angular/angular.git",
|
"url": "git://github.com/angular/angular.git",
|
||||||
"directory": "packages/zone.js"
|
"directory": "packages/zone.js"
|
||||||
},
|
},
|
||||||
|
"publishConfig":{
|
||||||
|
"registry":"https://wombat-dressing-room.appspot.com"
|
||||||
|
},
|
||||||
"author": "Brian Ford",
|
"author": "Brian Ford",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
Loading…
Reference in New Issue