Skip to content

Commit

Permalink
release script: Do testing inside sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlattimore committed Oct 30, 2023
1 parent 9a72d07 commit f5d3ba5
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions scripts/release
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,19 @@ fi

echo "Releasing version ${VERSION} with minimum rust version ${MIN_RUST_VER}"

cargo clippy -- -D warnings
cargo clippy --no-default-features -- -D warnings
cargo test
cargo run --release -- acl --no-ui --ignore-newer-config-versions --save-requests --fail-on-warnings
cargo run --release -- acl --no-ui --ignore-newer-config-versions --save-requests --fail-on-warnings test
cargo +${MIN_RUST_VER}-x86_64-unknown-linux-gnu test --all
cargo package
SB=$HOME/bin/sb

if [ ! -e $SB ]; then
SB=""
fi

$SB cargo clippy -- -D warnings
$SB cargo clippy --no-default-features -- -D warnings
$SB cargo test
$SB cargo run --release -- acl --no-ui --ignore-newer-config-versions --save-requests --fail-on-warnings
$SB cargo run --release -- acl --no-ui --ignore-newer-config-versions --save-requests --fail-on-warnings test
$SB cargo +${MIN_RUST_VER}-x86_64-unknown-linux-gnu test --all
$SB cargo package

git tag v${VERSION}
git push origin
Expand Down

0 comments on commit f5d3ba5

Please sign in to comment.