File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # =========================================
2
+ # ================================================================================
3
3
# Convenience script for cutting releases:
4
4
# * Commit, tag, and push version change
5
5
# * Deploy to PyPi
6
- # =========================================
6
+ #
7
+ # Need to set PyPi API token in .pypirc. See:
8
+ # https://packaging.python.org/en/latest/specifications/pypirc/#using-a-pypi-token
9
+ # ================================================================================
7
10
if [[ $# -eq 0 ]] ; then
8
11
echo ' Usage: ./release.bash <version> (e.g. 0.2.0)'
9
12
exit 1
@@ -24,14 +27,9 @@ set +x
24
27
rm -rf dist/
25
28
python setup.py sdist
26
29
27
- # https://github.com/plyint/encpass.sh
28
- . encpass.sh
29
-
30
- export TWINE_PASSWORD=$( get_secret pypi password)
31
-
32
30
# exit when any command fails
33
31
set -e
34
32
35
33
# print commands before executing
36
34
set -x
37
- twine upload --username gbroques dist/*
35
+ twine upload --verbose dist/*
You can’t perform that action at this time.
0 commit comments