Date: Friday, December 2, 2022 @ 18:51:57
  Author: orhun
Revision: 1356217

upgpkg: aliyun-cli 3.0.139-1: upstream release

Modified:
  aliyun-cli/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-02 18:40:29 UTC (rev 1356216)
+++ PKGBUILD    2022-12-02 18:51:57 UTC (rev 1356217)
@@ -3,8 +3,8 @@
 # Contributor: Andreas 'Segaja' Schleifer <archlinux at segaja dot de>
 
 pkgname=aliyun-cli
-_gitcommit=cbacadd14ca3848dad0d449dcbaeefd425b8c03b
-pkgver=3.0.137
+_gitcommit=ccf60ac3c6b7cbe815f698c2223f63380ba27ca7
+pkgver=3.0.139
 pkgrel=1
 pkgdesc='Alibaba Cloud CLI'
 arch=('x86_64')
@@ -44,18 +44,17 @@
     -o ./out/aliyun ./main/main.go
 }
 
-# https://github.com/aliyun/aliyun-cli/issues/562
-# check() {
-#   cd ${pkgname}
-#
-#   # Horrible but needed for the ./cli/ tests
-#   touch "${HOME}/.bashrc"
-#
-#   # for now can't test the `./oss/...` folder, because it needs an env file 
that is not so easy to have in dev
-#   go test \
-#     ./cli/... ./config/... ./i18n/... ./main/... ./openapi/... ./resource/...
-# }
+check() {
+  cd ${pkgname}
 
+  # Horrible but needed for the ./cli/ tests
+  touch "${HOME}/.bashrc"
+
+  # for now can't test the `./oss/...` folder, because it needs an env file 
that is not so easy to have in dev
+  go test \
+    ./cli/... ./config/... ./i18n/... ./main/... ./openapi/... ./resource/...
+}
+
 package() {
   cd ${pkgname}
   install -Dm 755 out/aliyun "${pkgdir}/usr/bin/aliyun"

Reply via email to