From 570c2085b3126121e2c5a0d075a136f9f2ffea63 Mon Sep 17 00:00:00 2001 From: Daniel Chao Date: Mon, 17 Jun 2024 10:47:58 -0700 Subject: [PATCH] Recover if rm command removes no files (#538) --- .circleci/config.pkl | 2 +- .circleci/config.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.pkl b/.circleci/config.pkl index 5446405c..b8de8d3c 100644 --- a/.circleci/config.pkl +++ b/.circleci/config.pkl @@ -151,7 +151,7 @@ jobs { name = "Publish release on GitHub" command = #""" # exclude build_artifacts.txt from publish - rm pkl-cli/build/executable/*.build_artifacts.txt + rm -f pkl-cli/build/executable/*.build_artifacts.txt gh release create "${CIRCLE_TAG}" \ --title "${CIRCLE_TAG}" \ --target "${CIRCLE_SHA1}" \ diff --git a/.circleci/config.yml b/.circleci/config.yml index 51b74baf..c01142fe 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -660,7 +660,7 @@ jobs: - run: command: |- # exclude build_artifacts.txt from publish - rm pkl-cli/build/executable/*.build_artifacts.txt + rm -f pkl-cli/build/executable/*.build_artifacts.txt gh release create "${CIRCLE_TAG}" \ --title "${CIRCLE_TAG}" \ --target "${CIRCLE_SHA1}" \