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
|
||||
|
||||
```
|
||||
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=${VERSION#v}
|
||||
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 SHA=`git log upstream/master --oneline -n 1000 | grep "release: cut the ${TAG} release" | cut -f 1 -d " "`
|
||||
git co ${SHA}
|
||||
yarn bazel \
|
||||
--output_base=$(mktemp -d) run //packages/zone.js:npm_package.publish \
|
||||
--workspace_status_command="echo BUILD_SCM_VERSION $VERSION"
|
||||
npm login --registry https://wombat-dressing-room.appspot.com
|
||||
yarn bazel -- run --config=release -- //packages/zone.js:npm_package.publish --access public --tag latest
|
||||
git tag ${TAG} ${SHA}
|
||||
git push upstream ${TAG}
|
||||
```
|
|
@ -34,6 +34,9 @@
|
|||
"url": "git://github.com/angular/angular.git",
|
||||
"directory": "packages/zone.js"
|
||||
},
|
||||
"publishConfig":{
|
||||
"registry":"https://wombat-dressing-room.appspot.com"
|
||||
},
|
||||
"author": "Brian Ford",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
|
|
Loading…
Reference in New Issue