From afc9839f436a607e363202684c728713146d9726 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Tue, 17 Mar 2020 09:30:04 -0700 Subject: [PATCH] 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 --- packages/zone.js/DEVELOPER.md | 7 +++---- packages/zone.js/package.json | 3 +++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/zone.js/DEVELOPER.md b/packages/zone.js/DEVELOPER.md index 3956fe98da..c1a5e5df53 100644 --- a/packages/zone.js/DEVELOPER.md +++ b/packages/zone.js/DEVELOPER.md @@ -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} ``` \ No newline at end of file diff --git a/packages/zone.js/package.json b/packages/zone.js/package.json index c9f14109ef..d1d8c7c4eb 100644 --- a/packages/zone.js/package.json +++ b/packages/zone.js/package.json @@ -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": {