svn commit: r382149 - head/Mk
Bryan Drewery
bdrewery at FreeBSD.org
Tue Mar 24 18:15:18 UTC 2015
Author: bdrewery
Date: Tue Mar 24 18:15:17 2015
New Revision: 382149
URL: https://svnweb.freebsd.org/changeset/ports/382149
QAT: https://qat.redports.org/buildarchive/r382149/
Log:
USE_GITHUB: Tighten the GH_TAGNAME stripping of 'v' from r382120 to only do so
for v[0-9] as Github does. If a tag is 'v.1' github will return that exact value.
This also fixed named tags that are word starting with 'v'.
PR: 198869
With hat: portmgr
Reported by: antoine
Modified:
head/Mk/bsd.sites.mk
Modified: head/Mk/bsd.sites.mk
==============================================================================
--- head/Mk/bsd.sites.mk Tue Mar 24 18:00:52 2015 (r382148)
+++ head/Mk/bsd.sites.mk Tue Mar 24 18:15:17 2015 (r382149)
@@ -570,7 +570,7 @@ DISTNAME:= ${DISTNAME}_GH${_GITHUB_REV}
GH_TAGNAME_SANITIZED= ${GH_TAGNAME:S,/,-,}
# Github silently converts tags starting with v to not have v in the filename
# and extraction directory.
-GH_TAGNAME_EXTRACT= ${GH_TAGNAME_SANITIZED:S/^v//}
+GH_TAGNAME_EXTRACT= ${GH_TAGNAME_SANITIZED:C/^v([0-9])/\1/}
. endif
.endif
.endif
More information about the svn-ports-head
mailing list