From 014d0c72739b632f7bb4172b2f14e203013c5f68 Mon Sep 17 00:00:00 2001 From: Reuben Morais Date: Fri, 24 Nov 2017 11:57:51 -0200 Subject: [PATCH] Switch version number to 0.1.0 --- native_client/README.md | 2 +- native_client/javascript/index.js | 2 +- native_client/javascript/package.json.in | 2 +- native_client/setup.py | 2 +- tc-node-tests-prod.sh | 2 +- tc-node-tests.sh | 4 ++-- tc-python-tests-prod.sh | 2 +- tc-python-tests.sh | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/native_client/README.md b/native_client/README.md index ab1a3c1179..c0c1c19460 100644 --- a/native_client/README.md +++ b/native_client/README.md @@ -139,4 +139,4 @@ make package make npm-pack ``` -This will create the package `deepspeech-0.0.3.tgz` in `native_client/javascript`. +This will create the package `deepspeech-0.1.0.tgz` in `native_client/javascript`. diff --git a/native_client/javascript/index.js b/native_client/javascript/index.js index 99978ad897..e6bb50470a 100644 --- a/native_client/javascript/index.js +++ b/native_client/javascript/index.js @@ -1,6 +1,6 @@ const binary = require('node-pre-gyp'); const path = require('path') -// 'lib', 'binding', 'v0.0.3', ['node', 'v' + process.versions.modules, process.platform, process.arch].join('-'), 'deepspeech-bingings.node') +// 'lib', 'binding', 'v0.1.0', ['node', 'v' + process.versions.modules, process.platform, process.arch].join('-'), 'deepspeech-bingings.node') const binding_path = binary.find(path.resolve(path.join(__dirname, 'package.json'))); const binding = require(binding_path); diff --git a/native_client/javascript/package.json.in b/native_client/javascript/package.json.in index e5b2b040d9..c3378896db 100644 --- a/native_client/javascript/package.json.in +++ b/native_client/javascript/package.json.in @@ -1,6 +1,6 @@ { "name" : "$(PROJECT_NAME)", - "version" : "0.0.3", + "version" : "0.1.0", "description" : "DeepSpeech NodeJS bindings", "main" : "./index", "bin": { diff --git a/native_client/setup.py b/native_client/setup.py index b1bfc8a950..40c11273b3 100755 --- a/native_client/setup.py +++ b/native_client/setup.py @@ -45,7 +45,7 @@ class BuildExtFirst(build): setup(name = project_name, description = 'A library for running inference on a DeepSpeech model', author = 'Mozilla', - version = '0.0.3', + version = '0.1.0', package_dir = {'deepspeech': 'python'}, packages = ['deepspeech'], cmdclass = {'build': BuildExtFirst}, diff --git a/tc-node-tests-prod.sh b/tc-node-tests-prod.sh index 46609d6ebd..06c156cc57 100644 --- a/tc-node-tests-prod.sh +++ b/tc-node-tests-prod.sh @@ -18,7 +18,7 @@ download_data node --version npm --version -npm install ${DEEPSPEECH_NODEJS}/deepspeech-0.0.3.tgz +npm install ${DEEPSPEECH_NODEJS}/deepspeech-0.1.0.tgz export PATH=$HOME/node_modules/.bin/:$PATH diff --git a/tc-node-tests.sh b/tc-node-tests.sh index ea315cf41b..223b5f3030 100644 --- a/tc-node-tests.sh +++ b/tc-node-tests.sh @@ -17,9 +17,9 @@ download_data node --version npm --version if [ "${aot_model}" = "--aot" ]; then - npm install ${DEEPSPEECH_AOT_ARTIFACTS_ROOT}/deepspeech-0.0.3.tgz + npm install ${DEEPSPEECH_AOT_ARTIFACTS_ROOT}/deepspeech-0.1.0.tgz else - npm install ${DEEPSPEECH_NODEJS}/deepspeech-0.0.3.tgz + npm install ${DEEPSPEECH_NODEJS}/deepspeech-0.1.0.tgz fi export PATH=$HOME/node_modules/.bin/:$PATH diff --git a/tc-python-tests-prod.sh b/tc-python-tests-prod.sh index 3c53371361..ea2b004430 100644 --- a/tc-python-tests-prod.sh +++ b/tc-python-tests-prod.sh @@ -42,7 +42,7 @@ pyenv virtualenv ${pyver} ${PYENV_NAME} source ${PYENV_ROOT}/versions/${pyver}/envs/${PYENV_NAME}/bin/activate platform=$(python -c 'import sys; import platform; plat = platform.system().lower(); plat = "manylinux1" if plat == "linux" else plat; sys.stdout.write("%s_%s" % (plat, platform.machine()));') -deepspeech_pkg="deepspeech-0.0.3-cp${pyver_pkg}-cp${pyver_pkg}${py_unicode_type}-${platform}.whl" +deepspeech_pkg="deepspeech-0.1.0-cp${pyver_pkg}-cp${pyver_pkg}${py_unicode_type}-${platform}.whl" pip install --upgrade ${DEEPSPEECH_ARTIFACTS_ROOT}/${deepspeech_pkg} diff --git a/tc-python-tests.sh b/tc-python-tests.sh index 4339d523b0..2936f24797 100644 --- a/tc-python-tests.sh +++ b/tc-python-tests.sh @@ -40,7 +40,7 @@ pyenv virtualenv ${pyver} ${PYENV_NAME} source ${PYENV_ROOT}/versions/${pyver}/envs/${PYENV_NAME}/bin/activate platform=$(python -c 'import sys; import platform; plat = platform.system().lower(); plat = "manylinux1" if plat == "linux" else plat; sys.stdout.write("%s_%s" % (plat, platform.machine()));') -deepspeech_pkg="deepspeech-0.0.3-cp${pyver_pkg}-cp${pyver_pkg}${py_unicode_type}-${platform}.whl" +deepspeech_pkg="deepspeech-0.1.0-cp${pyver_pkg}-cp${pyver_pkg}${py_unicode_type}-${platform}.whl" if [ "${aot_model}" = "--aot" ]; then deepspeech_pkg_url=${DEEPSPEECH_AOT_ARTIFACTS_ROOT}/${deepspeech_pkg}