mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-07 23:03:11 +08:00
[CB-4140] Fix master branch cordova version to DEV
This commit is contained in:
parent
3ae28b3085
commit
fff956304f
@ -16,17 +16,4 @@
|
|||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
set -e
|
echo "3.0.0-dev"
|
||||||
|
|
||||||
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user