summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 16b0e2ddcd6..e51616f2a1e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = jenkinsfile-runner-git
pkgdesc = A command line tool to run Jenkinsfile
- pkgver = r281.552a0a2
+ pkgver = 1.0.beta.18.r9.gcc0717b
pkgrel = 1
url = https://github.com/jenkinsci/jenkinsfile-runner.git
arch = i686
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() {