codesenberg / bombardier

Fast cross-platform HTTP benchmarking tool written in Go
MIT License
6.03k stars 315 forks source link

bombardier version unspecified #92

Closed Kapsonfire-DE closed 1 year ago

Kapsonfire-DE commented 2 years ago

Im installing bombardier in a Docker and bombardier --version outputs bombardier version unspecified linux/amd64

#### install go && bombardier
RUN wget https://go.dev/dl/go1.19.1.linux-amd64.tar.gz
RUN rm -rf /usr/local/go && tar -C /usr/local -xzf go1.19.1.linux-amd64.tar.gz
RUN echo 'export PATH=$PATH:/usr/local/go/bin:~/go/bin' >> ~/.bashrc
RUN source ~/.bashrc
RUN go install github.com/codesenberg/bombardier@latest
RUN bombardier --version
SomnathS09 commented 2 years ago

same error for me on Windows 10 OS : bombardier version unspecified windows/amd64

codesenberg commented 1 year ago

This is working as expected. Only releases get a version tag, if you build bombardier from source it's not clean what the version should be. It could be possible to use HEAD's revision hash, but adding dependency on Git seems impractical.