Skip to content

Commit 8cbbf6e

Browse files
memshardedAbrilRBS
andauthored
fix metadata note (#3991)
* fix metadata note * Update devops/metadata.rst --------- Co-authored-by: Abril Rincón Blanco <[email protected]>
1 parent a9a1841 commit 8cbbf6e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

devops/metadata.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,10 @@ to use a ``layout()`` method like above to avoid cluttering the current folder.
9494
# check local mybuild/metadata/logs/mylogs.txt file
9595
9696
97-
**NOTE**: This metadata is not valid for the ``conan export-pkg`` flow. If you want to use the ``export-pkg`` flow you might want to check the
98-
"Adding metadata" section below.
97+
**NOTE**: Note that the locally created metadata will not be exported to the Conan cache during the ``conan export-pkg`` command.
98+
Some metadata, as the one generated in ``export()`` method can be generated in the cache, as the ``conan export-pkg`` command calls
99+
that method, but the metadata inside the "build" folder will not be exported. If you want to add that metadata to the exported package,
100+
you can copy it after the ``conan export-pkg`` using the paths reported by ``conan cache path``, as described below in the "Adding metadata with commands" section.
99101

100102

101103
Creating metadata with hooks

0 commit comments

Comments
 (0)