Skip to content

Commit

Permalink
Remove existing contracts before copy
Browse files Browse the repository at this point in the history
Contracts that have been moved to a different directory or renamed between contract releases on the main chainlink repo would exist in both forms here. The fix is simply to wipe out the existing contracts before copying over the new files from the release.
  • Loading branch information
thodges-gh authored Jul 23, 2024
1 parent 12393bd commit 595e010
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/add-and-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
id: get_updated
run: |
yarn upgrade --latest
rm -rf contracts/*
cp -r node_modules/@chainlink/contracts/* contracts/
jq '.dependencies."@chainlink/contracts"' package.json | sed 's/"//g' | sed 's/\^//g' > version.txt
version=$(cat version.txt)
Expand Down

0 comments on commit 595e010

Please sign in to comment.