Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build without tags and add building command printing #600

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

Iceber
Copy link
Member

@Iceber Iceber commented Nov 27, 2023

What type of PR is this?

/kind bug
What this PR does / why we need it:
When building a repository without any tags, GIT_VERSION will cause the build to fail and quit

make apiserver
hack/builder.sh apiserver
fatal: No names found, cannot describe anything.
make: *** [apiserver] Error 128

We fork clusterpedia/clusterpedia directly and clone the forked repository, then we run into this problem during build

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@clusterpedia-bot
Copy link

Hi @Iceber,
Thanks for your pull request!
If the PR is ready, use the /auto-cc command to assign Reviewer to Review.
We will review it shortly.

Details

Instructions for interacting with me using comments are available here.
If you have questions or suggestions related to my behavior, please file an issue against the gh-ci-bot repository.

@clusterpedia-bot clusterpedia-bot added the kind/bug Something isn't working label Nov 27, 2023
@Iceber Iceber merged commit 4c82e9e into clusterpedia-io:main Nov 27, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants