From 1b4abee5b92cbc277fa1024979e6918d9cadfe73 Mon Sep 17 00:00:00 2001 From: Yang Song Date: Thu, 4 Oct 2018 14:17:42 -0700 Subject: [PATCH] Update README and RELEASING. (#130) * Update README and RELEASING. * Use better releasing commands for Go. --- README.md | 6 ++++++ RELEASING.md | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e39021c..07aa679 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,12 @@ consistency and interoperability for the different implementations. ## Quickstart +### Install to Go + +```bash +$ go get -u github.com/census-instrumentation/opencensus-proto +``` + ### Add the dependencies to your Java project For Maven add to `pom.xml`: diff --git a/RELEASING.md b/RELEASING.md index 855e3bb..0268ffc 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -17,10 +17,13 @@ Follow the instructions [here](http://google.github.io/proto-lens/installing-pro Then run the following commands to re-generate the gen-go files: ```bash +$ cd $(go env GOPATH)/src/github.com/census-instrumentation/opencensus-proto $ git checkout -b update-gen-go +$ rm -rf gen-go $ cd src $ ./mkgogen.sh -$ git commit -a -m "Update gen-go files." +$ git add -A +$ git commit -m "Update gen-go files." ``` Go through PR review and merge the changes to GitHub.