Skip to content

Wrong versioning in new release (0.9) #492

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

Closed
csabka opened this issue Mar 3, 2021 · 2 comments · Fixed by #494
Closed

Wrong versioning in new release (0.9) #492

csabka opened this issue Mar 3, 2021 · 2 comments · Fixed by #494

Comments

@csabka
Copy link

csabka commented Mar 3, 2021

postgres_exporter-0.9.0.linux-amd64.tar.gz contains
./postgres_exporter --version
postgres_exporter 0.0.1-rev (built with go1.15.8)

@SuperQ
Copy link
Contributor

SuperQ commented Mar 3, 2021

Oops! I guess we're not injecting the build time variable correctly.

SuperQ added a commit that referenced this issue Mar 3, 2021
Use Prometheus common/version to print --version output.
* Add `-h` short help flag.

Fixes: #492

Signed-off-by: Ben Kochie <[email protected]>
@SuperQ SuperQ mentioned this issue Mar 3, 2021
@SuperQ
Copy link
Contributor

SuperQ commented Mar 3, 2021

This will get fixed in the next release.

@SuperQ SuperQ closed this as completed Mar 3, 2021
SuperQ added a commit that referenced this issue Mar 3, 2021
Use Prometheus common/version to print --version output.
* Add `-h` short help flag.

Fixes: #492

Signed-off-by: Ben Kochie <[email protected]>
SuperQ added a commit that referenced this issue Mar 3, 2021
Use Prometheus common/version to print --version output.
* Add `-h` short help flag.

Fixes: #492

Signed-off-by: Ben Kochie <[email protected]>
angaz pushed a commit to angaz/postgres_exporter that referenced this issue Mar 3, 2022
Use Prometheus common/version to print --version output.
* Add `-h` short help flag.

Fixes: prometheus-community#492

Signed-off-by: Ben Kochie <[email protected]>
ritbl pushed a commit to heniek/postgres_exporter that referenced this issue Mar 19, 2023
Use Prometheus common/version to print --version output.
* Add `-h` short help flag.

Fixes: prometheus-community#492

Signed-off-by: Ben Kochie <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants