Subject: [PATCH] community/alertmanager: upgrade to 0.22.0

From: Drew DeVault <[email-masked]>
Date: Mon, 24 May 2021 14:45:25 -0400

---
 community/alertmanager/APKBUILD | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/community/alertmanager/APKBUILD b/community/alertmanager/APKBUILD
index 4a3cc2465b..9257f0003f 100644
--- a/community/alertmanager/APKBUILD
+++ b/community/alertmanager/APKBUILD
@@ -1,6 +1,6 @@
 # Maintainer: Drew DeVault <[email-masked]>
 pkgname=alertmanager
-pkgver=0.21.0
+pkgver=0.22.0
 pkgrel=0
 pkgdesc="Prometheus Alertmanager"
 url="https://github.com/prometheus/alertmanager"
@@ -17,6 +17,7 @@ subpackages="$pkgname-openrc"
 options="!check" # timing-sensitive upstream tests
 
 build() {
+	go mod vendor
 	for cmd in amtool alertmanager
 	do
 		go build \
@@ -50,6 +51,8 @@ package() {
 		"$pkgdir"/etc/alertmanager/alertmanager.yml
 }
 
-sha512sums="72568407af4e90455975eff504ed49f4877eb517673532f655b6b0459725db5df7bbd1a3be120106c46b30dd7056714cc0b34b46df9c4d8c98e1f8c9eb0c39da  alertmanager-0.21.0.tar.gz
+sha512sums="
+10afa71501e04970a49a0cb2ade86269a14f2963922dd74b4b773c41450e7b62eb7bd1a7f41b8abf2e480d88037bb634c514020b8ca1f083b11e0475a2942999  alertmanager-0.22.0.tar.gz
 58420cf10ed51ec389d21ffdd5b4a0e588f0dc78b1069e32d0db1e0215f64c1c980d8f539ae902839f2f9342090b50ce1db756839f3676ee18b77548ce8f99c8  alertmanager.confd
-783636612f4521a042e890b3c53fa8c859574a533f540f01bbbb2b12d28b7998c69592e4c5f4d8868d32401ed93ae92ab1fa03129cc9a741d1221cd76eb4fb6b  alertmanager.initd"
+783636612f4521a042e890b3c53fa8c859574a533f540f01bbbb2b12d28b7998c69592e4c5f4d8868d32401ed93ae92ab1fa03129cc9a741d1221cd76eb4fb6b  alertmanager.initd
+"
-- 
2.31.1