Skip to content

Commit

Permalink
fix: podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
bigearsenal committed Jan 25, 2024
1 parent 48f98d4 commit 1f610f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions SolanaSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 3 additions & 4 deletions upversion
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1f610f2

Please sign in to comment.