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

Morten Linderud foxboron at gemini.archlinux.org
Tue Dec 21 00:14:06 UTC 2021


    Date: Tuesday, December 21, 2021 @ 00:14:06
  Author: foxboron
Revision: 1081190

upgpkg: docker-scan 0.13.0-1

Modified:
  docker-scan/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-21 00:13:42 UTC (rev 1081189)
+++ PKGBUILD	2021-12-21 00:14:06 UTC (rev 1081190)
@@ -2,7 +2,7 @@
 # Maintainer: Morten Linderud <foxboron at archlinux.org>
 
 pkgname=docker-scan
-pkgver=0.12.0
+pkgver=0.13.0
 pkgrel=1
 pkgdesc="Docker Scan is a Command Line Interface to run vulnerability detection on your Dockerfiles and Docker images"
 arch=('x86_64')
@@ -9,10 +9,15 @@
 url="https://github.com/docker/scan-cli-plugin"
 license=("Apache")
 makedepends=('go' 'git')
-_commit=1074dd0695bfef5cae2edccca2187e66ad400f8b	#refs/tags/v0.12.0
+_commit=e0c7c4e3a4d5fdc3ef3877fd62958a6e4b96ff02	#refs/tags/v0.13.0
 source=("git+https://github.com/docker/scan-cli-plugin.git#commit=${_commit}")
 sha512sums=('SKIP')
 
+pkgver() {
+  cd "scan-cli-plugin"
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
 build() {
   cd "scan-cli-plugin"
   export CGO_CPPFLAGS="${CPPFLAGS}"



More information about the arch-commits mailing list