Skip to content

Commit

Permalink
Make a version 1.0.2 for valeriyvan/jpeg.git allFixesMerged branch to…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
valeriyvan committed May 24, 2023
1 parent 8537bec commit 5c849e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
},
{
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 5c849e5

Please sign in to comment.