Skip to content

Commit

Permalink
ci: Disable broken rust dry-runs (aws#4384)
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstewart authored Jan 27, 2024
1 parent dcdb0ed commit c74f442
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 31 deletions.
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.

0 comments on commit c74f442

Please sign in to comment.