guilbaults / infiniband-exporter

Prometheus exporter for a Infiniband Fabric
Apache License 2.0
55 stars 22 forks source link

Mismatch between infiniband-exporter --version and downloaded RPM #54

Open chrisdaaz opened 6 months ago

chrisdaaz commented 6 months ago

Thank you for creating and releasing this package. I was surprised to see Version 0.0.6 after installing infiniband-exporter-0.0.7-1.el7.noarch.rpm.

# Download the latest release
wget https://github.com/guilbaults/infiniband-exporter/releases/download/v0.0.7/infiniband-exporter-0.0.7-1.el7.noarch.rpm

# Install the package
sudo rpm -ivh infiniband-exporter-0.0.7-1.el7.noarch.rpm

# Check the installation
infiniband-exporter --version
# Version 0.0.6
guilbaults commented 6 months ago

You are right, I forgot to update the version string in the Python code https://github.com/guilbaults/infiniband-exporter/blob/12e7b2de049fc3c33c44e164f426dd723c8479c0/infiniband-exporter.py#L16

I will probably release a deb package in a few weeks, I will release 0.0.8 with the correct version string at the same time.