Gitversion: [Bug] Latest GitVersion breaks Cake build on Bitrise

Created on 18 May 2020  路  5Comments  路  Source: GitTools/GitVersion

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.

bug

Most helpful comment

All 5 comments

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

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.

Was this page helpful?
0 / 5 - 0 ratings