Closed
Description
I'm not quite sure if the contributing guide mentions it, but if you start development against your own fork, you may end up with mysterious errors:
$ coder git:(main) ✗ make
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
make: *** [Makefile:177: build/coder-slim__linux_amd64] Error 128
The clue to solving these issues is to add the upstream: git remote add upstream https://github.com/coder/coder
and fetch all tags: git fetch upstream
. After that, make
succeeded.
If you don't think that this is a gap in CONTRIBUTING guide, maybe we should improve the Makefile to have an actionable error.
Metadata
Metadata
Assignees
Labels
No labels