bake icon indicating copy to clipboard operation
bake copied to clipboard

Invalid value for --source is not a valid boolean

Open zodman opened this issue 2 years ago • 2 comments

$ cat > Bakefile2 << EOF
ee:
   echo "done"

EOF
$ bake --debug -b Bakefile2  ee
 + cache.git.ok: true
 + cache.git.root: '/home/zodman/apps'
 + cache.enabled: true
 + cache.git.ok: true
 + cache.git.root: '/home/zodman/apps'
 + cache.enabled: true
 $ git config --local --list
 + Bakefile: Bakefile2
 + argv: []
 + environ: []

 + Executing ee:
 $ t=$(mktemp) && bake --source ee > ${t} && chmod +x ${t} && ${t} 2>&1 | sed >&2 's/^/ |  /' && EXIT="${PIPESTATUS[0]}" && rm -fr ${t} && exit ${EXIT}
Usage: bake [OPTIONS] [TASK] [ARGUMENTS]...

Error: Invalid value for '--source': 'ee' is not a valid boolean.
Task ee failed!

$ pip freeze | grep bake
bake-cli==0.12.0

zodman avatar Sep 15 '21 19:09 zodman

wow! thanks

when release the patch ? @rednafi

zodman avatar Jan 13 '22 05:01 zodman

I'm also getting this - is a release with this fix planned?

amit-ug avatar Jun 14 '22 07:06 amit-ug