Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(zone.js): Update zone.js release process to use google-wombot #36110

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 3 additions & 4 deletions packages/zone.js/DEVELOPER.md
Expand Up @@ -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}"
Expand Down Expand Up @@ -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}
```
3 changes: 3 additions & 0 deletions packages/zone.js/package.json
Expand Up @@ -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": {
Expand Down