// swift-tools-version:5.2

import PackageDescription

let package = Package(
    name: "publisher",
    products: [
        .executable(name: "Publisher", targets: ["Publisher"]),
    ],
    dependencies: [
        .package(name: "Publish", url: "https://github.com/johnsundell/publish.git", from: "0.1.0"),
        .package(name: "swift-argument-parser", url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "0.0.1"))
    ],
    targets: [
        .target(
            name: "Publisher",
            dependencies: [
                "Publish",
                .product(name: "ArgumentParser", package: "swift-argument-parser"),
            ]
        ),
    ]
)

// swift-tools-version:5.2

import PackageDescription

let package = Package(
    name: "publisher",
    products: [
        .executable(name: "Publisher", targets: ["Publisher"]),
    ],
    dependencies: [
        .package(name: "Publish", url: "https://github.com/johnsundell/publish.git", from: "0.1.0"),
        .package(name: "swift-argument-parser", url: "https://github.com/apple/swift-argument-parser", .upToNextMinor("0.0.1"))
    ],
    targets: [
        .target(
            name: "Publisher",
            dependencies: [
                "Publish",
                .product(name: "ArgumentParser", package: "swift-argument-parser"),
            ]
        ),
    ]
)

--- 
+++ 
@@ -9,7 +9,7 @@
     ],
     dependencies: [
         .package(name: "Publish", url: "https://github.com/johnsundell/publish.git", from: "0.1.0"),
-        .package(name: "swift-argument-parser", url: "https://github.com/apple/swift-argument-parser", .upToNextMinor("0.0.1"))
+        .package(name: "swift-argument-parser", url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "0.0.1"))
     ],
     targets: [
         .target(
Fix typo in SPM fix