You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2022/06/28 16:09:27 UTC

[iceberg-docs] branch main updated: Fix copy command in how-to-release (#96)

This is an automated email from the ASF dual-hosted git repository.

blue pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-docs.git


The following commit(s) were added to refs/heads/main by this push:
     new 943c79eb Fix copy command in how-to-release (#96)
943c79eb is described below

commit 943c79eb22276426c761eaf4e811881144dfc81b
Author: Samuel Redai <43...@users.noreply.github.com>
AuthorDate: Tue Jun 28 12:09:23 2022 -0400

    Fix copy command in how-to-release (#96)
    
    This fixes a small typo in the command to copy over the versioned docs. What should happen is that the content directory should be replaced in it's entirety by the docs directory from the iceberg repo. That way if pages are removed there, that's reflected here.
---
 landing-page/content/common/how-to-release.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/landing-page/content/common/how-to-release.md b/landing-page/content/common/how-to-release.md
index 82090acf..b3af9155 100644
--- a/landing-page/content/common/how-to-release.md
+++ b/landing-page/content/common/how-to-release.md
@@ -302,7 +302,8 @@ git push --set-upstream apache <VERSION>
 ```
 2. Copy the versioned docs from the `iceberg` repo into the `iceberg-docs` repo
 ```shell
-cp -r ../iceberg/docs ../iceberg-docs/docs/content/docs
+rm -rf ../iceberg-docs/docs/content
+cp -r ../iceberg/docs ../iceberg-docs/docs/content
 ```
 3. Commit the changes and open a PR against the `<VERSION>` branch in the `iceberg-docs` repo