Skip to content

Commit 7f8e62a

Browse files
authored
chore(java): release-please only updates non maven versions in README (#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.
1 parent c7e0e51 commit 7f8e62a

File tree

1 file changed

+2
-2
lines changed
  • synthtool/gcp/templates/java_library

1 file changed

+2
-2
lines changed

synthtool/gcp/templates/java_library/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
4141
{% endif -%}
4242
```
4343

44-
[//]: # ({x-version-update-start:{{ artifact_id }}:released})
45-
4644
If you are using Maven without BOM, add this to your dependencies:
4745

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

58+
[//]: # ({x-version-update-start:{{ artifact_id }}:released})
59+
6060
If you are using Gradle, add this to your dependencies
6161
```Groovy
6262
compile '{{ group_id }}:{{ artifact_id }}:{{ metadata['latest_version'] }}'

0 commit comments

Comments
 (0)