Parcourir la source

Update yaml-cpp url (#3211)

Ericele il y a 1 an
Parent
commit
8faedfa477
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/y/yaml-cpp/xmake.lua

+ 1 - 1
packages/y/yaml-cpp/xmake.lua

@@ -4,7 +4,7 @@ package("yaml-cpp")
     set_description("A YAML parser and emitter in C++")
     set_license("MIT")
 
-    add_urls("https://github.com/jbeder/yaml-cpp/archive/$(version).tar.gz", {version = function (version)
+    add_urls("https://github.com/jbeder/yaml-cpp/archive/refs/tags/$(version).tar.gz", {version = function (version)
         return version:le("0.7.0") and "yaml-cpp-" .. tostring(version) or version
     end})
     add_urls("https://github.com/jbeder/yaml-cpp.git")