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
❯ docker run --rm -v "$(pwd):/repo" -it --entrypoint /bin/bash gittools/gitversion:5.6.9
root@b4e01d80db52:/tools# cd /repo
root@b4e01d80db52:/repo# /tools/dotnet-gitversion . /output json
The system cannot open the device or file specified. :'Global\.'# however, I can use $(pwd) instead and it's happy
root@b4e01d80db52:/repo# /tools/dotnet-gitversion $(pwd) /output json
{
"Major": 3,
"Minor": 3,
"Patch": 1,
Possible Fix
to work-around it on gitlab, I'm probably going to replace my pipeline job definition with
Describe the bug
My gitlab pipelines started failing after the 5.6.9 release -- failing with
My gitlab pipeline job looks like:
later jobs in the pipeline depend on the version job and import the env vars from gitversion.properties.
Expected Behavior
With 5.6.8 and earlier, using '.' as the path works:
Actual Behavior
With 5.6.9, '.' as the path fails:
Possible Fix
to work-around it on gitlab, I'm probably going to replace my pipeline job definition with
or
The text was updated successfully, but these errors were encountered: