summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastiaan Lokhorst2019-08-04 00:05:40 +0200
committerSebastiaan Lokhorst2019-08-04 00:05:40 +0200
commit7562f5e6711fa0c48fa57597f2632009857c970b (patch)
treee8d9f36e5af0ceae1c24e95a291a0cc8c6d7e490
parent17758fac7fafa1ae7d9b63e2d4fb8c5d6173f4c3 (diff)
downloadaur-7562f5e6711fa0c48fa57597f2632009857c970b.tar.gz
Fix pkgver to ignore weird upstream "Staging" tag
https://github.com/FreeCAD/FreeCAD/releases/tag/Staging
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ed63bebbf73..f75ae10fa3c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = freecad-git
pkgdesc = A general purpose 3D CAD modeler - git checkout
- pkgver = 0.19pre.r633.g063582241
+ pkgver = 0.19pre.r1038.g7b315d3a1
pkgrel = 1
epoch = 1
url = https://www.freecadweb.org/
diff --git a/PKGBUILD b/PKGBUILD
index 73a737e7b5d..39838a7a103 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_appname=freecad
pkgname="${_appname}-git"
-pkgver=0.19pre.r633.g063582241
+pkgver=0.19pre.r1038.g7b315d3a1
pkgrel=1
epoch=1
pkgdesc='A general purpose 3D CAD modeler - git checkout'
@@ -28,7 +28,7 @@ md5sums=('SKIP'
pkgver() {
cd "${srcdir}/${pkgname}"
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/_//'
+ git describe --long --tags --match '*.*' | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/_//'
}
build() {