Skip to content

Commit 022d8d5

Browse files
authored
fix: Properly get version from package.json (#882)
1 parent 02448ce commit 022d8d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cordova.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
require "json"
2020

2121
packageJson = JSON.parse(File.read(File.join(__dir__, "package.json")))
22-
relVersion = package['version']
22+
relVersion = packageJson['version']
2323
relSource = { :git => "https://github.com/apache/cordova-ios.git",
2424
:tag => "rel/{relVersion}",
2525
:submodules => true }

0 commit comments

Comments
 (0)