Browse Source

fix new.lua

ruki 2 năm trước cách đây
mục cha
commit
ab1a2567c3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      scripts/new.lua

+ 1 - 1
scripts/new.lua

@@ -115,7 +115,7 @@ function generate_package(reponame, get_data)
         archive.extract(tmpfile, repodir)
         os.rm(tmpfile)
     else
-        local giturl = string.format("git@%s:%s.git", host, reponame)
+        local giturl = string.format("https://%s/%s.git", host, reponame)
         repodir = os.tmpfile({ ramdisk = false })
 
         file:print('    add_urls("%s")', giturl)