Skip to content

Commit 570c208

Browse files
authored
Recover if rm command removes no files (#538)
1 parent d55866a commit 570c208

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.pkl

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ jobs {
151151
name = "Publish release on GitHub"
152152
command = #"""
153153
# exclude build_artifacts.txt from publish
154-
rm pkl-cli/build/executable/*.build_artifacts.txt
154+
rm -f pkl-cli/build/executable/*.build_artifacts.txt
155155
gh release create "${CIRCLE_TAG}" \
156156
--title "${CIRCLE_TAG}" \
157157
--target "${CIRCLE_SHA1}" \

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ jobs:
660660
- run:
661661
command: |-
662662
# exclude build_artifacts.txt from publish
663-
rm pkl-cli/build/executable/*.build_artifacts.txt
663+
rm -f pkl-cli/build/executable/*.build_artifacts.txt
664664
gh release create "${CIRCLE_TAG}" \
665665
--title "${CIRCLE_TAG}" \
666666
--target "${CIRCLE_SHA1}" \

0 commit comments

Comments
 (0)