aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.sites.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/bsd.sites.mk')
-rw-r--r--Mk/bsd.sites.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index ec7c7c312f64..fa7f4bdb7b39 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -559,7 +559,13 @@ DISTNAME:= ${DISTNAME}_GH${_GITHUB_REV}
. endif
GH_ACCOUNT?= ${PORTNAME}
GH_PROJECT?= ${PORTNAME}
+. if defined(DH_COMMIT)
+# Use the old style for safety for now.
GH_TAGNAME?= ${DISTVERSION}
+. else
+# Use full PREFIX/SUFFIX and converted DISTVERSION
+GH_TAGNAME?= ${DISTVERSIONFULL}
+. endif
.endif
.endif