mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 22:37:27 -08:00
scripts: drop -f from hostname, openbsd does not support it
This commit is contained in:
parent
8d2a73aff0
commit
53777e7bc4
|
@ -20,7 +20,7 @@ repo_path="github.com/prometheus/prometheus"
|
|||
version=$( cat version/VERSION )
|
||||
revision=$( git rev-parse --short HEAD 2> /dev/null || echo 'unknown' )
|
||||
branch=$( git rev-parse --abbrev-ref HEAD 2> /dev/null || echo 'unknown' )
|
||||
host=$( hostname -f )
|
||||
host=$( hostname )
|
||||
build_date=$( date +%Y%m%d-%H:%M:%S )
|
||||
go_version=$( go version | sed -e 's/^[^0-9.]*\([0-9.]*\).*/\1/' )
|
||||
|
||||
|
|
Loading…
Reference in a new issue