From 595e01089cf58b713719d3c67dd567fd88075cb0 Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 23 Jul 2024 05:36:07 -0500 Subject: [PATCH] Remove existing contracts before copy 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. --- .github/workflows/add-and-commit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/add-and-commit.yml b/.github/workflows/add-and-commit.yml index d2123aa5..6f4a01fc 100644 --- a/.github/workflows/add-and-commit.yml +++ b/.github/workflows/add-and-commit.yml @@ -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)