Skip to content

Commit

Permalink
Update version based on package.json version
Browse files Browse the repository at this point in the history
  • Loading branch information
rodan-lewarx committed Jan 24, 2018
1 parent 7874e8b commit c0f7af3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion TouchID.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
s.name = "TouchID"
s.version = "4.0.0"
s.version = package['version']
s.summary = "A React Native library for authenticating users with Touch ID"
s.homepage = "https://github.com/naoufal/react-native-touch-id"
s.license = "MIT"
Expand Down

0 comments on commit c0f7af3

Please sign in to comment.