Skip to content

utilities: also create latest directory#2267

Merged
pongad merged 2 commits intogoogleapis:masterfrom
pongad:latest-doc
Jul 31, 2017
Merged

utilities: also create latest directory#2267
pongad merged 2 commits intogoogleapis:masterfrom
pongad:latest-doc

Conversation

@pongad
Copy link
Copy Markdown
Contributor

@pongad pongad commented Jul 24, 2017

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.

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.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 24, 2017
Comment thread utilities/create_site.sh Outdated
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.

@coveralls
Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling a0f3786 on pongad:latest-doc into ** on GoogleCloudPlatform:master**.

Comment thread utilities/create_site.sh Outdated
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.

This comment was marked as spam.

Comment thread utilities/create_site.sh Outdated
cd tmp_gh-pages
rm -rf latest
mkdir latest
for dir in ../target/staging/*

This comment was marked as spam.

@pongad
Copy link
Copy Markdown
Contributor Author

pongad commented Jul 27, 2017

Thank you @vam-google PTAL

@coveralls
Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling 08e4d5d on pongad:latest-doc into ** on GoogleCloudPlatform:master**.

Copy link
Copy Markdown
Contributor

@vam-google vam-google left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overal LGTM, if the "rm/git add" combination is not a problem (please see the corresponding comment).

Comment thread utilities/create_site.sh

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.

@pongad pongad merged commit 2bd120d into googleapis:master Jul 31, 2017
@pongad pongad deleted the latest-doc branch July 31, 2017 01:15
suztomo pushed a commit to suztomo/google-cloud-java that referenced this pull request Mar 23, 2026
meltsufin pushed a commit that referenced this pull request Apr 29, 2026
…#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
meltsufin pushed a commit that referenced this pull request May 1, 2026
…#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants