Diff mysqld_exporter-0.14.0 with a mysqld_exporter-0.14.0_p20221209
/usr/portage/app-metrics/mysqld_exporter/mysqld_exporter-0.14.0_p20221209.ebuild 2023-10-09 14:52:28.776368332 +0300 | ||
---|---|---|
6 | 6 |
# uncomment the first setting of MY_PV for a normal release |
7 | 7 |
# MY_PV="v${PV/_rc/-rc.}" |
8 | 8 |
# set MY_PV to the full commit hash for a snapshot release |
9 |
MY_PV_HASH= |
|
9 |
MY_PV_HASH=530e351d293dd632f31b80947f5ca420ef17adaf |
|
10 | 10 |
if [[ -n "${MY_PV_HASH}" ]]; then |
11 | 11 |
MY_PV=${MY_PV_HASH} |
12 | 12 |
MYSQLD_EXPORTER_COMMIT=${MY_PV_HASH:0:8} |
13 | 13 |
SRC_URI_UPSTREAM="https://github.com/prometheus/mysqld_exporter/archive/${MY_PV}.tar.gz" |
14 | 14 |
else |
15 |
MY_PV=${PV} |
|
15 |
MY_PV=$PV |
|
16 | 16 |
MYSQLD_EXPORTER_COMMIT= |
17 | 17 |
SRC_URI_UPSTREAM="https://github.com/prometheus/mysqld_exporter/archive/refs/tags/v${PV}.tar.gz" |
18 | 18 |
fi |