You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2014/08/29 21:22:20 UTC

ios commit: CB-7432 - iOS - Version script should be updated by coho at release time

Repository: cordova-ios
Updated Branches:
  refs/heads/master f00c289a5 -> 1d65be4e5


CB-7432 - iOS - Version script should be updated by coho at release time


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/1d65be4e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/1d65be4e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/1d65be4e

Branch: refs/heads/master
Commit: 1d65be4e5db9b66b7bbbda07acf1916f76b1dad7
Parents: f00c289
Author: Shazron Abdullah <sh...@apache.org>
Authored: Fri Aug 29 12:22:13 2014 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Fri Aug 29 12:22:13 2014 -0700

----------------------------------------------------------------------
 bin/templates/scripts/cordova/version | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/1d65be4e/bin/templates/scripts/cordova/version
----------------------------------------------------------------------
diff --git a/bin/templates/scripts/cordova/version b/bin/templates/scripts/cordova/version
index 6a9261c..0b576d8 100755
--- a/bin/templates/scripts/cordova/version
+++ b/bin/templates/scripts/cordova/version
@@ -24,17 +24,6 @@
 # Note: it does not work if the --shared option was used to create the project.
 #
 
-set -e
+VERSION="3.5.0"
 
-CORDOVA_PATH=$( cd "$( dirname "$0" )" && pwd -P)
-PROJECT_PATH="$(dirname "$CORDOVA_PATH")"
-
-VERSION_FILE_PATH="$PROJECT_PATH/CordovaLib/VERSION"
-VERSION=$(<"$VERSION_FILE_PATH")
-
-if [ -f "$VERSION_FILE_PATH" ]; then
-  echo $VERSION 
-else
-  echo "The file \"$VERSION_FILE_PATH\" does not exist."
-  exit 1
-fi
\ No newline at end of file
+echo $VERSION