Skip to content

Commit 9d97d29

Browse files
Fix podspec file
- Make Web3Core version constant to don't forget changing it each release.
1 parent 5ee8c29 commit 9d97d29

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

web3swift.podspec

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
WEB3CORE_VERSION ||= '3.0.0-RC4'
2+
13
Pod::Spec.new do |spec|
24
spec.name = 'web3swift'
3-
spec.version = '3.0.0-RC4'
5+
spec.version = WEB3CORE_VERSION
46
spec.ios.deployment_target = "13.0"
57
spec.osx.deployment_target = "10.15"
68
spec.license = { :type => 'Apache License 2.0', :file => 'LICENSE.md' }
@@ -16,5 +18,5 @@ Pod::Spec.new do |spec|
1618
spec.resource_bundle = { "Browser" => "Sources/web3swift/Browser/*.js" }
1719
spec.frameworks = 'CoreImage'
1820
spec.dependency 'Starscream', '~> 4.0.4'
19-
spec.dependency 'Web3Core', '~> 3.0.0-RC4'
21+
spec.dependency 'Web3Core', "~> #{WEB3CORE_VERSION}"
2022
end

0 commit comments

Comments
 (0)