DeepSpeech/taskcluster/package.sh
Alexandre Lissy bd0fedc312 Split TaskCluster build scripts and refactor some variables
This will help landing AOT support, avoiding turning tc-build.sh and
tc-package.sh into a spaghetti mess.

Fixes #898
2017-10-19 15:43:47 +02:00

18 lines
432 B
Bash
Executable File

#!/bin/bash
set -xe
source $(dirname "$0")/../tc-tests-utils.sh
mkdir -p ${TASKCLUSTER_ARTIFACTS} || true
package_native_client "native_client.tar.xz"
if [ -d ${DS_ROOT_TASK}/DeepSpeech/ds/wheels ]; then
# Python wheels
cp ${DS_ROOT_TASK}/DeepSpeech/ds/wheels/* ${TASKCLUSTER_ARTIFACTS}/
# NodeJS package
cp ${DS_ROOT_TASK}/DeepSpeech/ds/native_client/javascript/deepspeech-*.tgz ${TASKCLUSTER_ARTIFACTS}/
fi;