cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject android commit: [CB-4140] Fix version of cordova-android to 2.9.0
Date Wed, 17 Jul 2013 18:21:12 GMT
Updated Branches:
  refs/heads/2.9.x e03bd0a40 -> f3acf9002


[CB-4140] Fix version of cordova-android to 2.9.0


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

Branch: refs/heads/2.9.x
Commit: f3acf9002ea1ea9f02b2a78d3e603f014ebc52ce
Parents: e03bd0a
Author: Ian Clelland <iclelland@chromium.org>
Authored: Wed Jul 17 14:20:50 2013 -0400
Committer: Ian Clelland <iclelland@chromium.org>
Committed: Wed Jul 17 14:20:50 2013 -0400

----------------------------------------------------------------------
 bin/templates/cordova/version | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/f3acf900/bin/templates/cordova/version
----------------------------------------------------------------------
diff --git a/bin/templates/cordova/version b/bin/templates/cordova/version
index 5760e95..df31e64 100755
--- a/bin/templates/cordova/version
+++ b/bin/templates/cordova/version
@@ -16,17 +16,4 @@
 # specific language governing permissions and limitations
 # under the License.
 
-set -e
-
-CORDOVA_PATH=$( cd "$( dirname "$0" )" && pwd -P)
-PROJECT_PATH="$(dirname "$CORDOVA_PATH")"
-
-VERSION_FILE_PATH="$PROJECT_PATH/assets/www/cordova.js"
-
-if [ -f "$VERSION_FILE_PATH" ]; then
-    JSVersion=$(sed -n '2,2p' $VERSION_FILE_PATH)
-    echo $JSVersion | sed -e 's/\/\/ //'| cut -f 1 -d '-'
-else
-    echo "The file \"$VERSION_FILE_PATH\" does not exist."
-    exit 1
-fi
+echo "2.9.0"


Mime
View raw message