From 162bf19c728f3ab848574b029736e16565195bd0 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Thu, 31 May 2018 20:28:54 +0200 Subject: [PATCH] Require testing in release mode before publishing. --- scripts/publish.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/publish.sh b/scripts/publish.sh index 87bff375..206a6e4a 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -18,6 +18,7 @@ fi echo ":::: Running test suite..." cargo clean bash "${SCRIPT_DIR}/test.sh" +bash "${SCRIPT_DIR}/test.sh" --release # Temporarily remove the dependency on codegen from core so crates.io verifies. sed -i.bak 's/rocket_codegen.*//' "${LIB_DIR}/Cargo.toml"