From 3e47b25d1955ee51fee829f488e5e6dcd51e5fe8 Mon Sep 17 00:00:00 2001 From: JiaLiPassion Date: Tue, 27 Oct 2020 10:29:01 +0900 Subject: [PATCH] docs(zone.js): update release doc (#39442) In the current release doc, we are using some shortcut of `git` command such as `git ci` `git co`, so in this PR we are updating them to the normal command, so these commands will work event without these shortcuts. PR Close #39442 --- packages/zone.js/DEVELOPER.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/zone.js/DEVELOPER.md b/packages/zone.js/DEVELOPER.md index 0fa4298484..ec9b798f2c 100644 --- a/packages/zone.js/DEVELOPER.md +++ b/packages/zone.js/DEVELOPER.md @@ -92,12 +92,12 @@ Create a dry run build to make sure everything is ready. yarn bazel --output_base=$(mktemp -d) run //packages/zone.js:npm_package.pack --workspace_status_command="echo BUILD_SCM_VERSION $VERSION" ``` -If everything looks good commit the changes and push them to your origin to create a PR. +If everything looks good, commit the changes and push them to your origin to create a PR. ``` -git co -b "release_${TAG}" +git checkout -b "release_${TAG}" git add packages/zone.js/CHANGELOG.md packages/zone.js/package.json -git ci -m "release: cut the ${TAG} release" +git commit -m "release: cut the ${TAG} release" git push origin "release_${TAG}" ``` @@ -114,7 +114,7 @@ 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 " "` echo "Releasing '$VERSION' which will be tagged as '$TAG' from SHA '$SHA'." -git co ${SHA} +git checkout ${SHA} 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}