mirror of
https://github.com/SevaSk/ecoute.git
synced 2025-03-10 14:34:09 +00:00
13 lines
570 B
Bash
13 lines
570 B
Bash
#!/usr/bin/env bash
|
|
|
|
# set up bash to handle errors more aggressively - a "strict mode" of sorts
|
|
set -e # give an error if any command finishes with a non-zero exit code
|
|
set -u # give an error if we reference unset variables
|
|
set -o pipefail # for a pipeline, if any of the commands fail with a non-zero exit code, fail the entire pipeline with that exit code
|
|
|
|
echo "Making release for SpeechRecognition-$1"
|
|
|
|
python setup.py bdist_wheel
|
|
gpg --detach-sign -a dist/SpeechRecognition-$1-*.whl
|
|
twine upload dist/SpeechRecognition-$1-*.whl dist/SpeechRecognition-$1-*.whl.asc
|