cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject [1/2] android commit: [CB-4140] Fix master branch cordova version to DEV
Date Thu, 11 Jul 2013 18:12:27 GMT
Updated Branches:
  refs/heads/master b5df9dd88 -> fff956304


[CB-4140] Fix master branch cordova version to DEV


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

Branch: refs/heads/master
Commit: fff956304ff2c1eae9c03aa5e3f236dd82afbf19
Parents: 3ae28b3
Author: Ian Clelland <iclelland@chromium.org>
Authored: Thu Jul 11 14:01:50 2013 -0400
Committer: Ian Clelland <iclelland@chromium.org>
Committed: Thu Jul 11 14:11:37 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/fff95630/bin/templates/cordova/version
----------------------------------------------------------------------
diff --git a/bin/templates/cordova/version b/bin/templates/cordova/version
index 5760e95..ce45c91 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 "3.0.0-dev"


Mime
View raw message