From 8704c06eab8ae40481be9ca751ec4be6ee1900c9 Mon Sep 17 00:00:00 2001
From: znley <shanjiantao@loongson.cn>
Date: Sun, 28 Apr 2024 07:24:35 +0000
Subject: [PATCH] community/gitlab-release-cli: upgrade golang.org/x/sys for
 loongarch64

---
 community/gitlab-release-cli/APKBUILD | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/community/gitlab-release-cli/APKBUILD b/community/gitlab-release-cli/APKBUILD
index cb8df3cffec3..f73fc9e57d67 100644
--- a/community/gitlab-release-cli/APKBUILD
+++ b/community/gitlab-release-cli/APKBUILD
@@ -17,6 +17,13 @@ export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
 export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
 export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
 
+prepare() {
+	default_prepare
+	go get -u golang.org/x/sys@v0.6.0
+	go get -u golang.org/x/net@v0.6.0
+	go mod tidy
+}
+
 build() {
 	make CGO_ENABLED=1 build
 }
-- 
GitLab