From 1f610f262d112ca174c14f6752883c82ee562c6c Mon Sep 17 00:00:00 2001 From: Chung Tran Date: Thu, 25 Jan 2024 10:19:19 +0700 Subject: [PATCH] fix: podspec --- SolanaSwift.podspec | 3 +-- upversion | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/SolanaSwift.podspec b/SolanaSwift.podspec index 736a9abdf..6eb6182f0 100644 --- a/SolanaSwift.podspec +++ b/SolanaSwift.podspec @@ -40,8 +40,7 @@ Solana-blockchain client, written in pure swift, which supports keypair generati # s.public_header_files = 'Pod/Classes/**/*.h' # s.frameworks = 'UIKit', 'MapKit' - s.dependency 'secp256k1.swift', '~> 0.1.0' + s.dependency 'secp256k1.swift', '~> 0.1.4' s.dependency 'TweetNacl', '~> 1.0.2' s.dependency 'Task_retrying', '~> 2.0.0' - s.dependency 'LoggerSwift', '~> 1.0.2' end diff --git a/upversion b/upversion index e954d3a1c..d87bce2a2 100755 --- a/upversion +++ b/upversion @@ -19,14 +19,13 @@ gsed -i 's/solana-swift", from: "'.*'")/solana-swift", from: "'$1'")/g' README.m # set version in podspec gsed -i 's/s.version.*= '.*'/s.version = '\'''$1'\'\''/g' SolanaSwift.podspec -# lint podspec -pod lib lint SolanaSwift.podspec --allow-warnings - # commit and tag git add 'SolanaSwift.podspec' 'README.md' git commit -m "feat: upversion to '$1'" git tag ''$1'' -git push origin main --tags # upload in cocoapods pod trunk push SolanaSwift.podspec --allow-warnings + +# pushing changes +git push origin main --tags