Skip to content
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

fix(bindings): pin jobserver in more places and run cargo publish --dry-run in generate.sh #4255

Merged
merged 5 commits into from
Nov 16, 2023

Conversation

WesleyRosenblum
Copy link
Contributor

Description of changes:

Similar to aws/s2n-quic#2009, when publishing the bindings to crates.io, the pinned jobserver dev-dependency in s2n-tls-sys was not respected, and the verification step failed. This change adds additional dev-dependency pins of jobserver to the s2n-tls and s2n-tls-tokio crates.

I've also modified the generate.sh script to run a cargo publish --dry-run on s2n-tls and s2n-tls-tokio to catch this issue in CI. The publish does not run if the version number has been bumped, as it would fail when looking for the new version.

Testing:

Tested locally

Is this a refactor change? If so, how have you proved that the intended behavior hasn't changed?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label Oct 19, 2023
@WesleyRosenblum WesleyRosenblum requested review from jmayclin, camshaft and maddeleine and removed request for camshaft October 23, 2023 16:48
@WesleyRosenblum WesleyRosenblum enabled auto-merge (squash) November 15, 2023 23:44
@WesleyRosenblum WesleyRosenblum merged commit 5bc8d63 into main Nov 16, 2023
24 checks passed
@WesleyRosenblum WesleyRosenblum deleted the WesleyRosenblum/publishdryrun branch November 16, 2023 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants