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:
Misko Hevery 2020-03-17 09:30:04 -07:00 committed by Andrew Kushnir
parent e3ecdc6a63
commit afc9839f43
2 changed files with 6 additions and 4 deletions

View File

@ -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}
``` ```

View File

@ -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": {