-
Notifications
You must be signed in to change notification settings - Fork 422
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
d2 --version does not work #202
Comments
You must've built from source. The version is not a static variable in source. It's read from Github releases at build time: Line 468 in 5e001dd
And then injected: |
To reproduce:
|
To clarify, this is expected behaviour. I'll change it to instead be |
Discussed with @gavin-ts and we decided we can fix this by having the release script update the version in |
For now we'll manually update. terrastruct/ci#16 tracks automating this. Thanks for reporting @FFengIll and for @gavin-ts for bring attention. |
tested with % rm $(which d2)
% go install oss.terrastruct.com/d2/cmd/d2@HEAD
go: downloading oss.terrastruct.com/d2 v0.0.14-0.20221130235807-5fa80861ff17
% d2 --version
v0.0.13-HEAD |
d2 --version
print????
.The text was updated successfully, but these errors were encountered: