Skip to content
Snippets Groups Projects
Commit 338c2870 authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

ci: fix rm flags

parent 641f53e9
No related tags found
1 merge request!82CI: generate style artifact
...@@ -91,7 +91,7 @@ Check style: ...@@ -91,7 +91,7 @@ Check style:
${CI_JOB_URL}/artifacts/raw/${STYLE_PATCH}.\n${DEFAULT}" ${CI_JOB_URL}/artifacts/raw/${STYLE_PATCH}.\n${DEFAULT}"
} || { } || {
printf "${RED}The issues cannot be resolved with a patch.\n${DEFAULT}" printf "${RED}The issues cannot be resolved with a patch.\n${DEFAULT}"
rm -rf "${STYLE_PATCH}" rm -f "${STYLE_PATCH}"
} }
printf "${RED}You can reproduce this check locally with \`pre-commit run --all-files\`. printf "${RED}You can reproduce this check locally with \`pre-commit run --all-files\`.
See also ${CI_PROJECT_URL}/-/blob/${CI_DEFAULT_BRANCH}/CONTRIBUTING.md#coding-style.\n${DEFAULT}" See also ${CI_PROJECT_URL}/-/blob/${CI_DEFAULT_BRANCH}/CONTRIBUTING.md#coding-style.\n${DEFAULT}"
...@@ -176,7 +176,7 @@ include: ...@@ -176,7 +176,7 @@ include:
printf "${DEFAULT}" printf "${DEFAULT}"
exit 1 exit 1
} }
rm -rf "${BUILD_LOG}" "${compiler_warnings}" rm -f "${BUILD_LOG}" "${compiler_warnings}"
- | - |
# Check if there are untracked files # Check if there are untracked files
untracked_files=$( \ untracked_files=$( \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment