See https://github.com/cake-build/cake/pull/2771 where I bumped GitVersion.Tool from 5.1.2 to 5.3.3.
The Bitrise Ubuntu PR build failed with warning:
It looks like the branch being examined is a detached Head pointing to commit 'ff1812c'. Without a proper branch name GitVersion cannot determine the build version.
For comparison, another recent Bitrise Ubuntu PR build succeeded with GitVersion 5.1.2.
Note: the output is different between the two versions, so GitVersion behavior has changed.
For the failed PR, after reverting GitVersion.Tool to 5.1.2, the Bitrise Ubuntu PR build succeeded.
@gitfool this seems like the same/similar error that is being shown here:
https://github.com/GitTools/GitVersion/issues/2301#issuecomment-717766298
Failing logs with 5.5.0
https://app.bitrise.io/build/4e9669a5d1464547#?tab=log
https://app.bitrise.io/build/51d261147af75205#?tab=log
Successful logs after reverting back to 5.1.2
https://app.bitrise.io/build/04fef81325df1112#?tab=log
https://app.bitrise.io/build/9f29dd67b97eb6ad#?tab=log
Ugh. 馃槵 Seems like our attempt at fixing tag builds actually has made things worse. 馃槕
I've reopened #2301 where I've shared my findings so far. Please weigh in there if you have any discoveries or information to share.
Most helpful comment
Failing logs with
5.5.0https://app.bitrise.io/build/4e9669a5d1464547#?tab=log
https://app.bitrise.io/build/51d261147af75205#?tab=log
Successful logs after reverting back to
5.1.2https://app.bitrise.io/build/04fef81325df1112#?tab=log
https://app.bitrise.io/build/9f29dd67b97eb6ad#?tab=log