Skip to content

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Jun 20, 2024

A shallow git clone of coder with --depth=1 won't have any git tags when running git tag.

version.sh currently doesn't properly handle this case, and sets the version to the empty string. This empty string is then read by buildinfo. This produces a broken build of coder server that is unable to start workspaces.

@ethanndickson ethanndickson merged commit 714f2ef into main Jun 21, 2024
@ethanndickson ethanndickson deleted the ethan/versiontag branch June 21, 2024 14:02
@github-actions github-actions bot locked and limited conversation to collaborators Jun 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants