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

ci: Disable broken rust dry-runs #4384

Merged
merged 3 commits into from
Jan 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 1 addition & 14 deletions bindings/rust/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0

set -e
set -xe

# cd into the script directory so it can be executed from anywhere
pushd "$(dirname "${BASH_SOURCE[0]}")"
Expand Down Expand Up @@ -52,19 +52,6 @@ cargo publish --dry-run --allow-dirty
cargo publish --dry-run --allow-dirty --all-features
popd

# if this version has already been published we can run
# additional validation to ensure there won't be build
# problems when a new version is published
if ! ./scripts/detect-new-release; then
pushd s2n-tls
cargo publish --dry-run --allow-dirty
popd

pushd s2n-tls-tokio
cargo publish --dry-run --allow-dirty
popd
fi

pushd integration
cargo run
popd
Expand Down
17 changes: 0 additions & 17 deletions bindings/rust/scripts/detect-new-release

This file was deleted.

Loading