Recover if rm command removes no files (#538)

This commit is contained in:
Daniel Chao authored and GitHub committed 2024-06-17 10:47:58 -07:00
1 parent d55866a04b
commit 570c2085b3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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}" \
+1 -1
View File
@@ -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}" \