bin/gerrit-number (no longer experimental)
Change-Id: Iadbef27074201173be2c71447c5d6f721afffbb3 Reviewed-on: https://skia-review.googlesource.com/c/174585 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
This commit is contained in:
parent
e0dc346d9e
commit
ed18c93d1e
@ -67,6 +67,9 @@ Creating a Change
|
||||
|
||||
[Gerrit Upload Documentation](https://gerrit-review.googlesource.com/Documentation/user-upload.html)
|
||||
|
||||
5. Open in web browser:
|
||||
|
||||
echo https://skia-review.googlesource.com/c/skia/+/$(bin/gerrit-number @)
|
||||
|
||||
Updating a Change
|
||||
-----------------
|
||||
@ -99,7 +102,7 @@ Using `git cl try`
|
||||
|
||||
On your current branch, after uploading to gerrit:
|
||||
|
||||
git cl issue $(experimental/tools/gerrit-change-id-to-number @)
|
||||
git cl issue $(bin/gerrit-number @)
|
||||
|
||||
Now `git cl try` and `bin/try` will work correctly.
|
||||
|
||||
@ -117,7 +120,7 @@ The following alias amends the head without editing the commit message:
|
||||
|
||||
Set the CL issue numnber:
|
||||
|
||||
git config alias.setcl '!git-cl issue $(experimental/tools/gerrit-change-id-to-number @)'
|
||||
git config alias.setcl '!git-cl issue $(bin/gerrit-number @)'
|
||||
|
||||
The following shell script will squash all commits on the current branch,
|
||||
assuming that the branch has an upstream topic branch.
|
||||
|
@ -36,8 +36,8 @@ Skia][1]. Here is how that process works:
|
||||
Review and submit the change:
|
||||
|
||||
git push origin HEAD:refs/for/skqp/dev
|
||||
NUM=$(experimental/tools/gerrit-change-id-to-number HEAD)
|
||||
tools/skqp/sysopen.py https://review.skia.org/$NUM
|
||||
tools/skqp/sysopen.py https://review.skia.org/$(bin/gerrit-number HEAD)
|
||||
|
||||
|
||||
`tools/skqp/cut_release`
|
||||
------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user