-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
Bug
The tasks fail with the following error:
task: [package-tar] rm -rf '/clp/build/clp-json-x86_64-v0.2.0-dev' '/clp/build/clp-json-x86_64-v0.2.0-dev.tar.gz'
task: [package-tar] rsync --archive '/clp/build/clp-package/' '/clp/build/clp-json-x86_64-v0.2.0-dev'
task: [utils:misc:replace-text] # NOTE:
# 1. We can't use `sed -i` since `-i` has different syntax on Linux and macOS
# 2. We can't use `--regexp` instead of `-E` since `--regexp` is not supported on macOS
src="/clp/build/clp-json-x86_64-v0.2.0-dev/lib/python3/site-packages/clp_py_utils/clp_config.py"
dst="/clp/build/clp-json-x86_64-v0.2.0-dev/lib/python3/site-packages/clp_py_utils/clp_config.py.tmp"
sed -E "s/([[:space:]]*storage_engine: str = ")[^"]+"/\1clp-s"/" "${src}" > "${dst}"
mv "${dst}" "${src}"
task: Failed to run task "clp-json-pkg-tar": 6:47: a command can only contain words and redirects; encountered )CLP version
Environment
- Ubuntu 22.04
- Task v3.42.1 (h1:HOaFbZGLOrAy2V/dLsX2rGJZVG2Qx6268KUIAIXdNE4=)
Reproduction steps
task clp-json-pkg-tar or task clp-text-pkg-tar
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working