Skip to content

Commit 764ddd4

Browse files
authored
remove lock file after checks are done (#1942)
1 parent c18a758 commit 764ddd4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/verify-pallets-build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ rm -rf $BRIDGES_FOLDER/scripts/update_substrate.sh
8989
rm -rf $BRIDGES_FOLDER/tools
9090
rm -f $BRIDGES_FOLDER/.dockerignore
9191
rm -f $BRIDGES_FOLDER/.gitlab-ci.yml
92-
rm -f $BRIDGES_FOLDER/Cargo.lock
9392
rm -f $BRIDGES_FOLDER/Cargo.toml
9493
rm -f $BRIDGES_FOLDER/ci.Dockerfile
9594
rm -f $BRIDGES_FOLDER/Dockerfile
@@ -125,4 +124,8 @@ cargo check -p pallet-bridge-relayers --features try-runtime
125124
cargo check -p bridge-runtime-common
126125
cargo check -p bridge-runtime-common --features runtime-benchmarks
127126

127+
# we're removing lock file after all chechs are done. Otherwise we may use different
128+
# Substrate/Polkadot/Cumulus commits and our checks will fail
129+
rm -f $BRIDGES_FOLDER/Cargo.lock
130+
128131
echo "OK"

0 commit comments

Comments
 (0)