Recover if rm command removes no files (#538)

This commit is contained in:
Daniel Chao
2024-06-17 10:47:58 -07:00
committed by GitHub
parent d55866a04b
commit 570c2085b3
2 changed files with 2 additions and 2 deletions

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}" \

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}" \