Skip to content

Commit 86078e6

Browse files
authored
Merge pull request #4 from rmeissner/fix_deploy
Fix param escaping for deployment script
2 parents 4b123db + 0a29b30 commit 86078e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ script:
99
- python -m unittest
1010
deploy:
1111
provider: script
12-
script: bash scripts/deploy.sh $PYPI_USER $PYPI_PASS
12+
script: bash scripts/deploy.sh "${PYPI_USER}" "${PYPI_PASS}"
1313
skip_cleanup: true
1414
on:
1515
tags: true

scripts/deploy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ python -m pip install --upgrade setuptools wheel
66
python -m pip install --upgrade twine
77

88
python setup.py sdist bdist_wheel
9-
twine upload -u $1 -p "${2}" dist/*
9+
twine upload -u "${1}" -p "${2}" dist/*

0 commit comments

Comments
 (0)