Closed roeniss closed 9 months ago
I think there is a bug. The airVersion used to bind ldflags is not exported, so I created a pull request #433.
The reason is that go install
does not call make
.
It does not matter if the variable is exported or not.
It should use debug.BuildInfo, like this: makiuchi-d/arelo/arelo.go#L137-L141
fixed
nice work!
Hi! The air and go versions are not shown on
air -v
on my computer.git clone https://github.com/cosmtrek/air && cd air && make install && air -v
→ shows versions wellgo install github.com/cosmtrek/air@latest && air -v
→ don't show versions wellI'm on:
I'm wondering this is known issue.