Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: re-add version file #15

Merged
merged 2 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .cz.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
version_scheme = "semver"
version = "1.0.4"
version_files = [
"Sources/PrimerKlarnaSDK/Classes/version.swift:let PrimerKlarnaSDKVersion",
"PrimerKlarnaSDK.podspec:s.version"
"Framework/PrimerKlarnaSDK/Sources/Version/version.swift:let PrimerKlarnaSDKVersion",
"PrimerKlarnaSDK.podspec:spec.version"
]
12 changes: 12 additions & 0 deletions Framework/PrimerKlarnaSDK.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
83C0A79E2AF0316A001E3242 /* Date+ToString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 83C0A79D2AF0316A001E3242 /* Date+ToString.swift */; };
83C0A7A02AF0319C001E3242 /* Array+CombinedDescription.swift in Sources */ = {isa = PBXBuildFile; fileRef = 83C0A79F2AF0319C001E3242 /* Array+CombinedDescription.swift */; };
83C0A7A32AF033AB001E3242 /* PrimerKlarnaProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 83C0A7A22AF033AB001E3242 /* PrimerKlarnaProvider.swift */; };
83C307822B10CC1400E39A5D /* version.swift in Sources */ = {isa = PBXBuildFile; fileRef = 83C307812B10CC1400E39A5D /* version.swift */; };
83EFDEF22AF2872300C77892 /* KlarnaMobileSDK.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 83EFDEF12AF2872300C77892 /* KlarnaMobileSDK.xcframework */; };
/* End PBXBuildFile section */

Expand Down Expand Up @@ -51,6 +52,7 @@
83C0A79D2AF0316A001E3242 /* Date+ToString.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Date+ToString.swift"; sourceTree = "<group>"; };
83C0A79F2AF0319C001E3242 /* Array+CombinedDescription.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Array+CombinedDescription.swift"; sourceTree = "<group>"; };
83C0A7A22AF033AB001E3242 /* PrimerKlarnaProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PrimerKlarnaProvider.swift; sourceTree = "<group>"; };
83C307812B10CC1400E39A5D /* version.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = version.swift; sourceTree = "<group>"; };
83EFDEF12AF2872300C77892 /* KlarnaMobileSDK.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = KlarnaMobileSDK.xcframework; sourceTree = "<group>"; };
/* End PBXFileReference section */

Expand Down Expand Up @@ -123,6 +125,7 @@
children = (
83C0A7992AF02BE4001E3242 /* Error */,
83C0A79C2AF03151001E3242 /* Extensions */,
83C307802B10CC0400E39A5D /* Version */,
83C0A7962AF02B36001E3242 /* ViewController */,
83C0A7A12AF0338F001E3242 /* Provider */,
);
Expand Down Expand Up @@ -162,6 +165,14 @@
path = Provider;
sourceTree = "<group>";
};
83C307802B10CC0400E39A5D /* Version */ = {
isa = PBXGroup;
children = (
83C307812B10CC1400E39A5D /* version.swift */,
);
path = Version;
sourceTree = "<group>";
};
83EFDEF02AF2870B00C77892 /* Framework */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -287,6 +298,7 @@
files = (
83C0A79B2AF02BEE001E3242 /* PrimerKlarnaError.swift in Sources */,
83C0A7A02AF0319C001E3242 /* Array+CombinedDescription.swift in Sources */,
83C307822B10CC1400E39A5D /* version.swift in Sources */,
83C0A7A32AF033AB001E3242 /* PrimerKlarnaProvider.swift in Sources */,
83C0A7982AF02B5F001E3242 /* PrimerKlarnaViewController.swift in Sources */,
83C0A79E2AF0316A001E3242 /* Date+ToString.swift in Sources */,
Expand Down
1 change: 1 addition & 0 deletions Framework/PrimerKlarnaSDK/Sources/Version/version.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
let PrimerKlarnaSDKVersion = "1.0.4"
2 changes: 1 addition & 1 deletion PrimerKlarnaSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Pod::Spec.new do |spec|
spec.name = "PrimerKlarnaSDK"
spec.version = "1.0.4"
spec.swift_version = '5.0'
spec.summary = "A wrapper of the KlarnaMobileSDK.."
spec.summary = "A wrapper of the KlarnaMobileSDK."
spec.description = "PrimerKlarnaSDK is a wrapper of the KlarnaMobileSDK that exposes its functionality source it can be used within the PrimerSDK as a separate module."
spec.homepage = "https://github.com/primer-io/primer-klarna-sdk-ios"

Expand Down