Skip to content

Commit

Permalink
Merge pull request #1019 from mozilla/switch-v0.1.0
Browse files Browse the repository at this point in the history
Switch version number to 0.1.0
  • Loading branch information
reuben authored Nov 24, 2017
2 parents 10761d6 + 014d0c7 commit b7abbd9
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion native_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
2 changes: 1 addition & 1 deletion native_client/javascript/index.js
Original file line number Diff line number Diff line change
@@ -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);

Expand Down
2 changes: 1 addition & 1 deletion native_client/javascript/package.json.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "$(PROJECT_NAME)",
"version" : "0.0.3",
"version" : "0.1.0",
"description" : "DeepSpeech NodeJS bindings",
"main" : "./index",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion native_client/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down
2 changes: 1 addition & 1 deletion tc-node-tests-prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions tc-node-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tc-python-tests-prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down
2 changes: 1 addition & 1 deletion tc-python-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit b7abbd9

Please sign in to comment.