You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by jc...@apache.org on 2020/06/05 09:22:50 UTC

[cordova-ios] branch master updated: fix: Properly get version from package.json (#882)

This is an automated email from the ASF dual-hosted git repository.

jcesarmobile pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-ios.git


The following commit(s) were added to refs/heads/master by this push:
     new 022d8d5  fix: Properly get version from package.json (#882)
022d8d5 is described below

commit 022d8d5d5df332392659a7d04b5bb5c3f070138d
Author: jcesarmobile <jc...@gmail.com>
AuthorDate: Fri Jun 5 11:22:33 2020 +0200

    fix: Properly get version from package.json (#882)
---
 Cordova.podspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Cordova.podspec b/Cordova.podspec
index 7ef5d16..64ef66f 100644
--- a/Cordova.podspec
+++ b/Cordova.podspec
@@ -19,7 +19,7 @@
 require "json"
 
 packageJson = JSON.parse(File.read(File.join(__dir__, "package.json")))
-relVersion = package['version']
+relVersion = packageJson['version']
 relSource  = { :git => "https://github.com/apache/cordova-ios.git",
             :tag => "rel/{relVersion}",
             :submodules => true }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org