You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# TODO: create a image with git, build-essential, curl, jq and rustup
31
27
32
28
# Detect and sort tags
33
29
detect_tags:
@@ -135,17 +131,11 @@ publish_crates:
135
131
echo "✓ Crate is in allowed list"
136
132
echo ""
137
133
138
-
# Build and test
139
-
echo "--- Building and testing $CRATE_NAME ---"
140
-
cargo build --package "$CRATE_NAME" --release
141
-
cargo test --package "$CRATE_NAME"
142
-
echo "✓ Build and tests passed"
143
-
echo ""
144
-
145
134
# Validate version from tag corresponds to the one in the Cargo.toml
146
135
# If not, print a warning and skip the publication
147
-
if [ "$CRATE_VERSION" != "$(cargo metadata --format-version 1 | jq -r '.packages[0].version')" ]; then
148
-
echo "⚠️ WARNING: Version from tag $CRATE_VERSION does not match the one in the Cargo.toml $(cargo metadata --format-version 1 | jq -r '.packages[0].version')"
0 commit comments