summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorYifan Xu2020-10-15 21:39:45 +0100
committerYifan Xu2020-10-15 21:39:45 +0100
commit02b5f84f1ee9a673134504910dc66e6b602ffc71 (patch)
treeba64201ecc49e714cd4ffa8579a3a7880902a6b3 /PKGBUILD
parente41c1f36befafdeac27ad495b08a0fed5097b404 (diff)
downloadaur-jenkinsfile-runner-git.tar.gz
update jenkinsfile-runner to 1.0.beta.18.r9.gcc0717b
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 18fb1b11824..0e55806d116 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
# Maintainer: Yifan Xu <jamesxu182@gmail.com>
pkgname=jenkinsfile-runner-git
_pkgname=jenkinsfile-runner
-pkgver=r281.552a0a2
+pkgver=1.0.beta.18.r9.gcc0717b
pkgrel=1
epoch=
pkgdesc="A command line tool to run Jenkinsfile"
@@ -21,7 +21,7 @@ md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
prepare() {
@@ -30,7 +30,7 @@ prepare() {
build() {
cd "$_pkgname"
- mvn package
+ mvn clean package
}
package() {