utilities: also create latest directory#2267
utilities: also create latest directory#2267pongad merged 2 commits intogoogleapis:masterfrom pongad:latest-doc
Conversation
This commit makes create_site.sh create directory "latest", containing the docs for the latest release. This commit also fixes a bug. Previously, create_site chooses to copy only files in directory whose names begin with the current version. Since the current version of google-cloud-java is 0.y.z, libraries in alpha and beta are copied properly. However, libraries in GA are not copied, because their versions are x.y.z where x is not 0.
| git add apidocs/index.html | ||
|
|
||
| cd .. | ||
| mvn site:stage --quiet -Djava.util.logging.config.file=logging.properties -DtopSiteURL=http://googlecloudplatform.github.io/google-cloud-java/site/latest/ |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
Changes Unknown when pulling a0f3786 on pongad:latest-doc into ** on GoogleCloudPlatform:master**. |
| mvn site:stage --quiet -Djava.util.logging.config.file=logging.properties -DtopSiteURL=http://googlecloudplatform.github.io/google-cloud-java/site/latest/ | ||
| cd tmp_gh-pages | ||
| rm -rf latest | ||
| mkdir latest |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| cd tmp_gh-pages | ||
| rm -rf latest | ||
| mkdir latest | ||
| for dir in ../target/staging/* |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
Thank you @vam-google PTAL |
|
Changes Unknown when pulling 08e4d5d on pongad:latest-doc into ** on GoogleCloudPlatform:master**. |
vam-google
left a comment
There was a problem hiding this comment.
Overal LGTM, if the "rm/git add" combination is not a problem (please see the corresponding comment).
|
|
||
| for dir in ../target/staging/${SITE_VERSION_BASE}* | ||
| version_bases=(${SITE_VERSION_BASE} latest) | ||
| rm -rf tmp_gh-pages/latest |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
…#2267) * chore: Update generation configuration at Tue Nov 19 02:29:41 UTC 2024 * chore: Update generation configuration at Wed Nov 20 02:29:07 UTC 2024 * chore: Update generation configuration at Thu Nov 21 02:28:56 UTC 2024 * chore: Update generation configuration at Fri Nov 22 02:29:33 UTC 2024 * chore: Update generation configuration at Sat Nov 23 02:27:22 UTC 2024 * chore: Update generation configuration at Tue Nov 26 02:29:47 UTC 2024 * chore: Update generation configuration at Wed Nov 27 02:30:44 UTC 2024 * chore: Update generation configuration at Thu Nov 28 02:30:34 UTC 2024 * chore: Update generation configuration at Fri Nov 29 02:30:35 UTC 2024 * chore: Update generation configuration at Tue Dec 3 02:31:16 UTC 2024 * chore: Update generation configuration at Wed Dec 4 02:31:23 UTC 2024 * chore: Update generation configuration at Thu Dec 5 02:31:38 UTC 2024 * chore: Update generation configuration at Fri Dec 6 02:31:00 UTC 2024 * chore: generate libraries at Fri Dec 6 02:31:31 UTC 2024
…#2267) * chore: Update generation configuration at Tue Nov 19 02:29:41 UTC 2024 * chore: Update generation configuration at Wed Nov 20 02:29:07 UTC 2024 * chore: Update generation configuration at Thu Nov 21 02:28:56 UTC 2024 * chore: Update generation configuration at Fri Nov 22 02:29:33 UTC 2024 * chore: Update generation configuration at Sat Nov 23 02:27:22 UTC 2024 * chore: Update generation configuration at Tue Nov 26 02:29:47 UTC 2024 * chore: Update generation configuration at Wed Nov 27 02:30:44 UTC 2024 * chore: Update generation configuration at Thu Nov 28 02:30:34 UTC 2024 * chore: Update generation configuration at Fri Nov 29 02:30:35 UTC 2024 * chore: Update generation configuration at Tue Dec 3 02:31:16 UTC 2024 * chore: Update generation configuration at Wed Dec 4 02:31:23 UTC 2024 * chore: Update generation configuration at Thu Dec 5 02:31:38 UTC 2024 * chore: Update generation configuration at Fri Dec 6 02:31:00 UTC 2024 * chore: generate libraries at Fri Dec 6 02:31:31 UTC 2024
This commit makes create_site.sh create directory "latest",
containing the docs for the latest release.
This commit also fixes a bug.
Previously, create_site chooses to copy only files in directory
whose names begin with the current version.
Since the current version of google-cloud-java is 0.y.z,
libraries in alpha and beta are copied properly.
However, libraries in GA are not copied, because their versions
are x.y.z where x is not 0.