Explorar o código

Fix Swift PM Semantic Version (#3081)

* Fix semantic version string in README

* Swap dependency specifier to enum-driven approach
Eddie Seay %!s(int64=5) %!d(string=hai) anos
pai
achega
e4cf090466
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -103,7 +103,7 @@ Once you have your Swift package set up, adding Alamofire as a dependency is as
 
 ```swift
 dependencies: [
-    .package(url: "https://github.com/Alamofire/Alamofire.git", from: "5.0")
+    .package(url: "https://github.com/Alamofire/Alamofire.git", .upToNextMajor(from: "5.0.0"))
 ]
 ```