Date: Tue, 24 Mar 2015 18:15:18 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382149 - head/Mk Message-ID: <201503241815.t2OIFI6M014397@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503241815.t2OIFI6M014397>