Skip to content

git describe from the Make files state fatal: No names found, cannot describe anything. #1609

@kishen-v

Description

@kishen-v

/kind bug
/area provider/ibmcloud

What steps did you take and what happened:

A few targets that use git describe seem to complain of fatal: No names found, cannot describe anything..

What did you expect to happen:
No warnings or errors.

Anything else you would like to add:

This can be fixed with --always along with git describe, which will default to the latest commit hash. However, this seems to break a few of the commands which tend to accept ldflags, such as make docker-build. Thus, the necessary changes are needed to ensure the existing functionality offered.

Metadata

Metadata

Assignees

Labels

area/provider/ibmcloudIssues or PRs related to ibmcloud providerkind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions