Skip to content

Commit

Permalink
remove lock file after checks are done (#1942)
Browse files Browse the repository at this point in the history
  • Loading branch information
svyatonik authored Mar 7, 2023
1 parent c18a758 commit 764ddd4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/verify-pallets-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ rm -rf $BRIDGES_FOLDER/scripts/update_substrate.sh
rm -rf $BRIDGES_FOLDER/tools
rm -f $BRIDGES_FOLDER/.dockerignore
rm -f $BRIDGES_FOLDER/.gitlab-ci.yml
rm -f $BRIDGES_FOLDER/Cargo.lock
rm -f $BRIDGES_FOLDER/Cargo.toml
rm -f $BRIDGES_FOLDER/ci.Dockerfile
rm -f $BRIDGES_FOLDER/Dockerfile
Expand Down Expand Up @@ -125,4 +124,8 @@ cargo check -p pallet-bridge-relayers --features try-runtime
cargo check -p bridge-runtime-common
cargo check -p bridge-runtime-common --features runtime-benchmarks

# we're removing lock file after all chechs are done. Otherwise we may use different
# Substrate/Polkadot/Cumulus commits and our checks will fail
rm -f $BRIDGES_FOLDER/Cargo.lock

echo "OK"

0 comments on commit 764ddd4

Please sign in to comment.