Date: Wednesday, November 2, 2022 @ 04:06:53
  Author: foutrelis
Revision: 1340971

Change source archive URL to include "refs/tags/"

This ensures we get an archive of the 0.7 tag and not the branch,
otherwise GitHub responds with an error:

    the given path has multiple possibilities:
    #<Git::Ref:0x00007f85e3f7f2b8>,
    #<Git::Ref:0x00007f85e3f7f0b0>

Modified:
  ncrack/trunk/PKGBUILD

----------+
 PKGBUILD |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-02 04:00:29 UTC (rev 1340970)
+++ PKGBUILD    2022-11-02 04:06:53 UTC (rev 1340971)
@@ -10,7 +10,7 @@
 arch=('x86_64')
 license=('GPL2')
 depends=('openssl')
-source=(https://github.com/nmap/ncrack/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+source=(https://github.com/nmap/ncrack/archive/refs/tags/${pkgver}/${pkgname}-${pkgver}.tar.gz
         ncrack-nullcheck.patch)
 sha256sums=('f3f971cd677c4a0c0668cb369002c581d305050b3b0411e18dd3cb9cc270d14a'
             'db38a84172ce548614c7e6f2f9f751b31e68716fe3ff68761c21f7e11d6143fc')

Reply via email to