Skip to content

Commit

Permalink
chore(java): release-please only updates non maven versions in README (
Browse files Browse the repository at this point in the history
…#476)

Prevent release-please and synthtool from fighting over the released library version. Synthtool updates the install snippets from the samples pom.xml files so the bots fight if they are temporarily out of sync after a release.
  • Loading branch information
chingor13 committed Apr 8, 2020
1 parent c7e0e51 commit 7f8e62a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synthtool/gcp/templates/java_library/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
{% endif -%}
```

[//]: # ({x-version-update-start:{{ artifact_id }}:released})

If you are using Maven without BOM, add this to your dependencies:

```xml
Expand All @@ -57,6 +55,8 @@ If you are using Maven without BOM, add this to your dependencies:
{% endif -%}
```

[//]: # ({x-version-update-start:{{ artifact_id }}:released})

If you are using Gradle, add this to your dependencies
```Groovy
compile '{{ group_id }}:{{ artifact_id }}:{{ metadata['latest_version'] }}'
Expand Down

0 comments on commit 7f8e62a

Please sign in to comment.