[arch-commits] Commit in nvchecker/trunk (PKGBUILD)

Chih-Hsuan Yen yan12125 at gemini.archlinux.org
Thu Feb 3 02:47:08 UTC 2022


    Date: Thursday, February 3, 2022 @ 02:47:07
  Author: yan12125
Revision: 1123943

nvchecker: refactor handling of signed git tags

Modified:
  nvchecker/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-03 02:47:07 UTC (rev 1123942)
+++ PKGBUILD	2022-02-03 02:47:07 UTC (rev 1123943)
@@ -3,8 +3,8 @@
 
 pkgname=nvchecker
 pkgver=2.6
-# git rev-parse v$pkgver
-_commit=d537d252f5cd55b8fd3c4226c3a18a21653fbcaa
+# curl https://api.github.com/repos/lilydjwg/nvchecker/git/ref/tags/v$pkgver | jq -r .object.sha
+_tag=d537d252f5cd55b8fd3c4226c3a18a21653fbcaa
 pkgrel=1
 pkgdesc="New version checker for software releases"
 arch=('any')
@@ -21,7 +21,7 @@
   'python-gobject: for nvchecker-notify'
   'libnotify: for nvchecker-notify'
 )
-source=("git+https://github.com/lilydjwg/nvchecker.git?signed#tag=$_commit")
+source=("git+https://github.com/lilydjwg/nvchecker.git?signed#tag=$_tag")
 sha512sums=('SKIP')
 validpgpkeys=(
   # No direct trust chain. Some related stuffs:



More information about the arch-commits mailing list