Skip to content

Commit

Permalink
Include LICENSE files into C++ SDK Assets (#4870)
Browse files Browse the repository at this point in the history
Adds License files to C++ SDK assets

<!--
Open the PR up as a draft until you feel it is ready for a proper
review.

Do not make PR:s from your own `main` branch, as that makes it difficult
for reviewers to add their own fixes.

Add any improvements to the branch as new commits to make it easier for
reviewers to follow the progress. All commits will be squashed to a
single commit once the PR is merged into `main`.

Make sure you mention any issues that this PR closes in the description,
as well as any other related issues.

To get an auto-generated PR description you can put "copilot:summary" or
"copilot:walkthrough" anywhere.
-->

### What

Resolves #4869 

### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)
* [x] I've included a screenshot or gif (if applicable)
* [x] I have tested the web demo (if applicable):
* Using newly built examples:
[app.rerun.io](https://app.rerun.io/pr/4870/index.html)
* Using examples from latest `main` build:
[app.rerun.io](https://app.rerun.io/pr/4870/index.html?manifest_url=https://app.rerun.io/version/main/examples_manifest.json)
* Using full set of examples from `nightly` build:
[app.rerun.io](https://app.rerun.io/pr/4870/index.html?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json)
* [x] The PR title and labels are set such as to maximize their
usefulness for the next release's CHANGELOG

- [PR Build Summary](https://build.rerun.io/pr/4870)
- [Docs
preview](https://rerun.io/preview/14755ca66eec760f8a6fdb4a881879fa4bbaab2f/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/14755ca66eec760f8a6fdb4a881879fa4bbaab2f/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
  • Loading branch information
rgolovanov authored Jan 19, 2024
1 parent b6a0ea1 commit c9202aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/ci/bundle_and_upload_rerun_cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ def main() -> None:
src="rerun_cpp/", dst=package_dir + "/", ignore=shutil.ignore_patterns("tests"), dirs_exist_ok=True
)

logging.info("Copying LICENSE files…")
shutil.copy(src="LICENSE-APACHE", dst=package_dir + "/")
shutil.copy(src="LICENSE-MIT", dst=package_dir + "/")

logging.info(f"Packaging {package_dir}.zip…")
rerun_zip = shutil.make_archive(
scratch_dir + "/" + package_name, "zip", root_dir=scratch_dir, base_dir=package_name
Expand Down

0 comments on commit c9202aa

Please sign in to comment.