FS#68448 - [fzf] 0.24.0-1 prints empty --version
Attached to Project:
Community Packages
Opened by Fnord Popos (noddy) - Tuesday, 27 October 2020, 22:44 GMT
Last edited by Morten Linderud (Foxboron) - Wednesday, 28 October 2020, 15:55 GMT
Opened by Fnord Popos (noddy) - Tuesday, 27 October 2020, 22:44 GMT
Last edited by Morten Linderud (Foxboron) - Wednesday, 28 October 2020, 15:55 GMT
|
Details
Description:
Since 0.24.0, `fzf --version` prints nothing. This breaks the accompanying vim scripts, which check the version of the binary. Steps to reproduce: $ fzf --version|xxd 00000000: 0a |
This task depends upon
Closed by Morten Linderud (Foxboron)
Wednesday, 28 October 2020, 15:55 GMT
Reason for closing: Fixed
Additional comments about closing: 0.24.0.1-1
Wednesday, 28 October 2020, 15:55 GMT
Reason for closing: Fixed
Additional comments about closing: 0.24.0.1-1
https://github.com/junegunn/fzf.vim/issues/1150#issuecomment-717401172
it seems like the new version requires setting the version number as a build argument.
I passed the ldflags directly to go due to [1]. I did not remove the now unused CGO_LDFLAGS or ldflags parameter of GOFLAGS.
[1] https://github.com/golang/go/issues/38522