Skip to content

ci: include LICENSE files in artifact zips/deb #535

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

cpu
Copy link
Member

@cpu cpu commented Feb 5, 2025

Also check for their presence in the artifact testing stage.

This was an oversight in #506

Also check for their presence in the artifact testing stage.
@cpu cpu self-assigned this Feb 5, 2025
@cpu cpu requested review from jsha and ctz February 5, 2025 16:33
mkdir -p "${DEB_ROOT}/DEBIAN"

cp -r "${DIST_DIR}/lib/"* "${DEB_ROOT}/usr/lib/"
cp -r "${DIST_DIR}/include/"* "${DEB_ROOT}/usr/include/"
cat ../LICENSE* > "${DEB_ROOT}/usr/share/doc/${PACKAGE}/COPYRIGHT"
Copy link
Member Author

Choose a reason for hiding this comment

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

There's a much fancier machine-readable Debian copyright format but since we're not trying to package according to Debian's very detailed standards I decided to K.I.S.S.

@cpu cpu mentioned this pull request Feb 5, 2025
21 tasks
@cpu cpu merged commit 306db98 into rustls:main Feb 5, 2025
45 checks passed
@cpu cpu deleted the cpu-artifact-licenses branch February 5, 2025 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants