2018-10-16 15:41:45 +08:00
|
|
|
go:
|
2019-11-25 21:59:26 +08:00
|
|
|
# Whenever the Go version is updated here,
|
2024-02-16 21:21:10 +08:00
|
|
|
# .github/workflows should also be updated.
|
2025-09-02 16:02:39 +08:00
|
|
|
version: 1.25
|
2015-12-22 01:09:38 +08:00
|
|
|
repository:
|
|
|
|
path: github.com/prometheus/prometheus
|
|
|
|
build:
|
|
|
|
binaries:
|
|
|
|
- name: prometheus
|
|
|
|
path: ./cmd/prometheus
|
|
|
|
- name: promtool
|
|
|
|
path: ./cmd/promtool
|
2022-12-10 02:02:05 +08:00
|
|
|
tags:
|
|
|
|
all:
|
|
|
|
- netgo
|
|
|
|
- builtinassets
|
|
|
|
windows:
|
|
|
|
- builtinassets
|
2015-12-22 01:09:38 +08:00
|
|
|
ldflags: |
|
2018-12-01 00:10:43 +08:00
|
|
|
-X github.com/prometheus/common/version.Version={{.Version}}
|
|
|
|
-X github.com/prometheus/common/version.Revision={{.Revision}}
|
|
|
|
-X github.com/prometheus/common/version.Branch={{.Branch}}
|
|
|
|
-X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
|
|
|
|
-X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
|
2015-12-22 01:09:38 +08:00
|
|
|
tarball:
|
2022-04-08 19:47:59 +08:00
|
|
|
# Whenever there are new files to include in the tarball,
|
|
|
|
# remember to make sure the new files will be generated after `make build`.
|
2015-12-22 01:09:38 +08:00
|
|
|
files:
|
|
|
|
- documentation/examples/prometheus.yml
|
|
|
|
- LICENSE
|
|
|
|
- NOTICE
|
2019-10-17 20:38:09 +08:00
|
|
|
- npm_licenses.tar.bz2
|
2016-06-15 00:17:45 +08:00
|
|
|
crossbuild:
|
|
|
|
platforms:
|
2021-03-21 01:10:04 +08:00
|
|
|
- darwin
|
|
|
|
- dragonfly
|
|
|
|
- freebsd
|
|
|
|
- illumos
|
|
|
|
- linux
|
|
|
|
- netbsd
|
|
|
|
- windows
|