Skip to content

Commit

Permalink
Make version tags SPM compliant (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoul committed Apr 23, 2019
1 parent 15c1153 commit 26604ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ lane :release do |options|
message: "Release #{version_number}",
xcodeproj: "GenericJSON.xcodeproj",
force: true)
add_git_tag(tag: "release/#{version_number}")
add_git_tag(tag: version_number)
end

desc "Push podspec to CocoaPods trunk"
Expand Down
2 changes: 1 addition & 1 deletion GenericJSON.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Pod::Spec.new do |s|
s.homepage = 'https://github.com/zoul/generic-json-swift'
s.authors = 'Tomáš Znamenáček'
s.summary = 'A simple Swift library for working with generic JSON structures.'
s.source = { :git => 'https://github.com/zoul/generic-json-swift.git', :tag => "release/#{s.version}" }
s.source = { :git => 'https://github.com/zoul/generic-json-swift.git', :tag => s.version }
s.source_files = 'GenericJSON/*.swift'
s.swift_version = "4.1"
end
Expand Down

0 comments on commit 26604ec

Please sign in to comment.