You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that some argument names cannot be used as build arguments. For example, trying to use an argument called version throws the error Error: Argument value is not a valid boolean value.
I'm guessing this is caused because version is already being used to show the tool version e.g. dotnet cake --version, which is reasonable.
However, it's not clear from the error message above why the error occurs. I'd suggest adding a validation and display a better error message and suggest a workaround such as "Use a different name such as appVersion, packageVersion, etc."
Using dotnet cake global tool v0.38.1
The text was updated successfully, but these errors were encountered:
It seems that some argument names cannot be used as build arguments. For example, trying to use an argument called
version
throws the errorError: Argument value is not a valid boolean value.
build.cake
I'm guessing this is caused because version is already being used to show the tool version e.g.
dotnet cake --version
, which is reasonable.However, it's not clear from the error message above why the error occurs. I'd suggest adding a validation and display a better error message and suggest a workaround such as "Use a different name such as
appVersion
,packageVersion
, etc."Using dotnet cake global tool v0.38.1
The text was updated successfully, but these errors were encountered: