This repository was archived by the owner on Aug 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +25
-3
lines changed
Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 1313 nox -f noxfile.py -s unit
1414 Lint :
1515 docker :
16- - image : circleci/python:3.6.4
16+ - image : circleci/python:3.7.1
1717
1818 steps :
1919 - checkout
2323 sudo pip install nox
2424 nox -f noxfile.py -s lint
2525
26+ Release :
27+ docker :
28+ - image : circleci/python:3.7.1
29+
30+ steps :
31+ - checkout
32+ - run :
33+ command : |
34+ sudo pip install --upgrade twine
35+ sudo pip install --upgrade wheel
36+ sudo pip install --upgrade setuptools
37+ source scripts/twine_upload.sh
38+
39+
2640workflows :
2741 version : 2
2842 test :
2943 jobs :
3044 - Unit Test
3145 - Lint
46+ release :
47+ jobs :
48+ - Release :
49+ filters :
50+ # Runs for no branches and only for tags like "1.2.3"
51+ branches :
52+ ignore : /.*/
53+ tags :
54+ only :
55+ - /^\d+\.\d+\.\d+$/
Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ if [[ -z "$CIRCLE_TAG" ]]; then
2222 exit 0
2323fi
2424
25- python3 -m pip install --upgrade twine wheel setuptools
26-
2725# Build the distribution and upload.
2826python3 setup.py sdist bdist_wheel
2927twine upload dist/* --username $PYPI_USERNAME --password $PYPI_PASSWORD
You can’t perform that action at this time.
0 commit comments