Recover if rm command removes no files (#538)
This commit is contained in:
1 parent
d55866a04b
commit
570c2085b3
2 files changed
+2
-2
No files matched your search
@@ -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}" \
|
||||
|
||||
@@ -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}" \
|
||||
|
||||
Reference in new issue
Block a user