tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Fix mk/fetch/github.mk



I would like to make the following change:

--- mk/fetch/github.mk 31 May 2023 20:30:44 -0000 1.17
+++ mk/fetch/github.mk 10 Feb 2024 17:25:19 -0000
@@ -70,7 +70,7 @@
 .  endif
   .  if !empty(GITHUB_TYPE:Mtag)
-SITES.${_GITHUB_DEFAULT_DISTFILES}= -${MASTER_SITES:=${GITHUB_PROJECT}/archive/${GITHUB_TAG}${EXTRACT_SUFX}}
+SITES.${_GITHUB_DEFAULT_DISTFILES}= -${MASTER_SITES:=${GITHUB_PROJECT}/archive/refs/tags/${GITHUB_TAG}${EXTRACT_SUFX}}
 .  endif
   .endif


Without it, I get this:

curl -L https://github.com/libproxy/libproxy/archive/0.5.4.tar.gz

the given path has multiple possibilities: #<Git::Ref:0x00007f3ce62da968>, #<Git::Ref:0x00007f3ce62d9428>


I guess this is harmless to other packages. If no one objects, I'll commit.

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index