You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -75,9 +75,7 @@ Most `gcloud-java` libraries require a project ID. There are multiple ways to s
75
75
Authentication
76
76
--------------
77
77
78
-
First, ensure that the necessary Google Cloud APIs are enabled for your project. To do this, follow the instructions on the [authentication document](https://github.com/GoogleCloudPlatform/gcloud-common/blob/master/authentication/readme.md#authentication) shared by all the gcloud language libraries.
79
-
80
-
Next, choose a method for authenticating API requests from within your project:
78
+
There are multiple ways to authenticate to use Google Cloud services.
81
79
82
80
1. When using `gcloud-java` libraries from within Compute/App Engine, no additional authentication steps are necessary.
83
81
2. When using `gcloud-java` libraries elsewhere, there are two options:
@@ -98,9 +96,9 @@ Next, choose a method for authenticating API requests from within your project:
98
96
`gcloud-java` looks forcredentialsin the following order, stopping once it finds credentials:
99
97
100
98
1. Credentials supplied when building the service options
101
-
2. App Engine credentials
102
-
3. Key file pointed to by the GOOGLE_APPLICATION_CREDENTIALS environment variable
103
-
4. Google Cloud SDK credentials
99
+
2. Key file pointed to by the GOOGLE_APPLICATION_CREDENTIALS environment variable
To get help, follow the `gcloud-java` links in the `gcloud-*` [shared Troubleshooting document](https://github.com/GoogleCloudPlatform/gcloud-common/blob/master/troubleshooting/readme.md#troubleshooting).
189
-
190
184
Java Versions
191
185
-------------
192
186
@@ -213,7 +207,7 @@ Contributing
213
207
214
208
Contributions to this library are always welcome and highly encouraged.
215
209
216
-
See `gcloud-java`'s [CONTRIBUTING] documentation and the `gcloud-*` [shared documentation](https://github.com/GoogleCloudPlatform/gcloud-common/blob/master/contributing/readme.md#how-to-contribute-to-gcloud) for more information on how to get started.
210
+
See [CONTRIBUTING] for more information on how to get started.
217
211
218
212
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more information.
219
213
@@ -224,7 +218,7 @@ Apache 2.0 - See [LICENSE] for more information.
Copy file name to clipboardExpand all lines: branches/update-datastore/RELEASING.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,15 +10,13 @@ This script takes an optional argument denoting the new version. By default, if
10
10
2. Create a PR to update the pom.xml version.
11
11
The PR should look something like [#225](https://github.com/GoogleCloudPlatform/gcloud-java/pull/225). After this PR is merged into GoogleCloudPlatform/gcloud-java, Travis CI will push a new website to GoogleCloudPlatform/gh-pages, push a new artifact to the Maven Central Repository, and update versions in the README files.
12
12
13
-
3. Before moving on, verify that the artifacts have successfully been pushed to the Maven Central Repository. Open Travis CI, click the ["Build History" tab](https://travis-ci.org/GoogleCloudPlatform/gcloud-java/builds), and open the second build's logs for Step 2's PR. Be sure that you are not opening the "Pull Request" build logs. When the build finishes, scroll to the end of the log and verify that the artifacts were successfully staged and deployed. You can also search for `gcloud-java` on the [Sonatype website](https://oss.sonatype.org/#nexus-search;quick~gcloud-java) and check the latest version number. If the deployment didn't succeed because of a flaky test, rerun the build.
14
-
15
-
4. Create a release on Github manually.
13
+
3. Create a release on Github manually.
16
14
Go to the [releases page](https://github.com/GoogleCloudPlatform/gcloud-java/releases) and click "Draft a new release." Use `vX.Y.Z` as the "Tag Version" and `X.Y.Z` as the "Release Title", where `X.Y.Z` is the release version as listed in the `pom.xml` files.
17
15
18
-
5. Run `utilities/update_pom_version.sh` again (to include "-SNAPSHOT" in the project version).
16
+
4. Run `utilities/update_pom_version.sh` again (to include "-SNAPSHOT" in the project version).
19
17
As mentioned before, there is an optional version argument. By default, the script will update the version from "X.Y.Z" to "X.Y.Z+1-SNAPSHOT". Suppose a different version is desired, for example X+1.0.0-SNAPSHOT. Then the appropriate command to run would be `utilities/update_pom_version.sh X+1.0.0-SNAPSHOT`.
20
18
21
-
6. Create and merge in another PR to reflect the updated project version. For an example of what this PR should look like, see [#227](https://github.com/GoogleCloudPlatform/gcloud-java/pull/227).
19
+
5. Create and merge in another PR to reflect the updated project version. For an example of what this PR should look like, see [#227](https://github.com/GoogleCloudPlatform/gcloud-java/pull/227).
To get help, follow the `gcloud-java` links in the `gcloud-*`[shared Troubleshooting document](https://github.com/GoogleCloudPlatform/gcloud-common/blob/master/troubleshooting/readme.md#troubleshooting).
36
-
37
32
Java Versions
38
33
-------------
39
34
@@ -44,9 +39,7 @@ Contributing
44
39
45
40
Contributions to this library are always welcome and highly encouraged.
46
41
47
-
See `gcloud-java`'s [CONTRIBUTING] documentation and the `gcloud-*`[shared documentation](https://github.com/GoogleCloudPlatform/gcloud-common/blob/master/contributing/readme.md#how-to-contribute-to-gcloud) for more information on how to get started.
48
-
49
-
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more information.
42
+
See [CONTRIBUTING] for more information on how to get started.
50
43
51
44
Versioning
52
45
----------
@@ -64,6 +57,5 @@ Apache 2.0 - See [LICENSE] for more information.
0 commit comments