Skip to content

Commit 80acd19

Browse files
remove patch file if replacing latest release
1 parent 4f34f9c commit 80acd19

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ci/ldmx-sw-dependabot

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ update() {
4545
if [ "${latest_major}" -eq "${ci_latest_major}" ] && [ "${latest_minor}" -eq "${ci_latest_minor}" ]; then
4646
inf "Only a patch difference between ${latest} and ${ci_latest}, replacing ${ci_latest} with ${latest}."
4747
jq --arg latest "${latest}" '.ldmx_sw[-1] = $latest' ci/ldmx-sw-to-test.json > ci/ldmx-sw-to-test.json.upd
48+
if [ -e "ci/interop/${ci_latest}.patch" ]; then
49+
rm ci/interop/${ci_latest}.patch
50+
fi
4851
else
4952
inf "More than a patch difference, adding ${latest} as a new test to the CI."
5053
jq --arg latest "${latest}" '.ldmx_sw += [$latest]' ci/ldmx-sw-to-test.json > ci/ldmx-sw-to-test.json.upd

0 commit comments

Comments
 (0)