Skip to content

Commit

Permalink
Recover if rm command removes no files (#538)
Browse files Browse the repository at this point in the history
  • Loading branch information
bioball authored Jun 17, 2024
1 parent d55866a commit 570c208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -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}" \
Expand Down
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}" \
Expand Down

0 comments on commit 570c208

Please sign in to comment.