From fff956304ff2c1eae9c03aa5e3f236dd82afbf19 Mon Sep 17 00:00:00 2001 From: Ian Clelland Date: Thu, 11 Jul 2013 14:01:50 -0400 Subject: [PATCH] [CB-4140] Fix master branch cordova version to DEV --- bin/templates/cordova/version | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/bin/templates/cordova/version b/bin/templates/cordova/version index 5760e95a..ce45c91b 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"