Skip to content

Commit bfa7f00

Browse files
authored
docs: Update readme to point to the latest versions of spring (#4233)
`sed -i.bak` is to resolve the issue of sed running on mac vs linux. Local error on my mac: `sed: 1: "README.adoc": invalid command code R`
1 parent 499ed70 commit bfa7f00

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ Google Cloud Reference Documentation:
1414
// {x-version-update-start:spring-cloud-gcp:released}
1515
* link:https://googlecloudplatform.github.io/spring-cloud-gcp/7.4.1/reference/html/index.html[Spring Framework on Google Cloud 7.3.0 (Latest)]
1616
// {x-version-update-end}
17-
* link:https://googlecloudplatform.github.io/spring-cloud-gcp/6.4.0/reference/html/index.html[Spring Framework on Google Cloud 6.4.0]
18-
* link:https://googlecloudplatform.github.io/spring-cloud-gcp/5.13.5/reference/html/index.html[Spring Framework on Google Cloud 5.13.5]
17+
* link:https://googlecloudplatform.github.io/spring-cloud-gcp/6.5.1/reference/html/index.html[Spring Framework on Google Cloud 6.5.1]
18+
* link:https://googlecloudplatform.github.io/spring-cloud-gcp/5.13.7/reference/html/index.html[Spring Framework on Google Cloud 5.13.7]
1919
* link:https://googlecloudplatform.github.io/spring-cloud-gcp/4.11.3/reference/html/index.html[Spring Framework on Google Cloud 4.11.3]
20-
* link:https://googlecloudplatform.github.io/spring-cloud-gcp/3.9.11/reference/html/index.html[Spring Framework on Google Cloud 3.9.11]
20+
* link:https://googlecloudplatform.github.io/spring-cloud-gcp/3.9.13/reference/html/index.html[Spring Framework on Google Cloud 3.9.13]
2121

2222
Javadocs: https://googleapis.dev/java/spring-cloud-gcp/latest/index.html
2323

docs/update_latest_versions_in_readme.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ latest_v4=$(echo "$versions" | grep '^4\.' | tail -n 1)
1515
latest_v3=$(echo "$versions" | grep '^3\.' | tail -n 1)
1616

1717
# Update the README.adoc file
18-
sed -i "/Spring Framework on Google Cloud 6\./s/[0-9]*\.[0-9]*\.[0-9]*/${latest_v6}/g" README.adoc
19-
sed -i "/Spring Framework on Google Cloud 5\./s/[0-9]*\.[0-9]*\.[0-9]*/${latest_v5}/g" README.adoc
20-
sed -i "/Spring Framework on Google Cloud 4\./s/[0-9]*\.[0-9]*\.[0-9]*/${latest_v4}/g" README.adoc
21-
sed -i "/Spring Framework on Google Cloud 3\./s/[0-9]*\.[0-9]*\.[0-9]*/${latest_v3}/g" README.adoc
18+
sed -i.bak "/Spring Framework on Google Cloud 6\./s/[0-9]*\.[0-9]*\.[0-9]*/${latest_v6}/g" README.adoc
19+
sed -i.bak "/Spring Framework on Google Cloud 5\./s/[0-9]*\.[0-9]*\.[0-9]*/${latest_v5}/g" README.adoc
20+
sed -i.bak "/Spring Framework on Google Cloud 4\./s/[0-9]*\.[0-9]*\.[0-9]*/${latest_v4}/g" README.adoc
21+
sed -i.bak "/Spring Framework on Google Cloud 3\./s/[0-9]*\.[0-9]*\.[0-9]*/${latest_v3}/g" README.adoc
2222

2323
echo "README.adoc updated with the latest versions:"
2424
echo "version-6: $latest_v6"

0 commit comments

Comments
 (0)