From 5c849e579b2725ba89588d8c8b912bf1048be148 Mon Sep 17 00:00:00 2001 From: Valeriy Van Date: Wed, 24 May 2023 12:34:32 +0300 Subject: [PATCH] Make a version 1.0.2 for valeriyvan/jpeg.git allFixesMerged branch to make SPM consider version as stable SPM doesn't allow package to be used as dependency if it depend on unstable version. Version which depend on branch is variable and considered unstable --- Package.resolved | 8 ++++---- Package.swift | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Package.resolved b/Package.resolved index 2f47716..8a0ad50 100644 --- a/Package.resolved +++ b/Package.resolved @@ -3,10 +3,10 @@ { "identity" : "jpeg", "kind" : "remoteSourceControl", - "location" : "git@github.com:valeriyvan/jpeg.git", + "location" : "https://github.com/valeriyvan/jpeg.git", "state" : { - "branch" : "allFixesMerged", - "revision" : "6ab5fffa49626116ff6b46510fe9828b71b708af" + "revision" : "6ab5fffa49626116ff6b46510fe9828b71b708af", + "version" : "1.0.2" } }, { @@ -39,7 +39,7 @@ { "identity" : "swift-png", "kind" : "remoteSourceControl", - "location" : "git@github.com:kelvin13/swift-png.git", + "location" : "https://github.com/kelvin13/swift-png.git", "state" : { "revision" : "075dfb248ae327822635370e9d4f94a5d3fe93b2", "version" : "4.0.2" diff --git a/Package.swift b/Package.swift index 1f8593a..91a6a02 100644 --- a/Package.swift +++ b/Package.swift @@ -4,7 +4,7 @@ import PackageDescription var dependencies: [Package.Dependency] = [ .package(url: "https://github.com/kelvin13/swift-png.git", from: "4.0.2"), - .package(url: "https://github.com/valeriyvan/jpeg.git", branch: "allFixesMerged"), + .package(url: "https://github.com/valeriyvan/jpeg.git", from: "1.0.2"), .package(url: "https://github.com/pointfreeco/swift-snapshot-testing.git", from: "1.9.0"), .package(url: "https://github.com/apple/swift-algorithms.git", from: "1.0.0"), .package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.1.4"),