File tree 1 file changed +14
-5
lines changed 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ dispatch () {
29
29
fi
30
30
prep
31
31
elif [ " $1 " == " upload" ]; then
32
- devpi_upload $2
32
+ devpi_upload $2
33
33
elif [ " $1 " == " test" ]; then
34
- devpi_cloud_test
34
+ devpi_cloud_test
35
35
elif [ " $1 " == " release" ]; then
36
36
pypi_release
37
37
else
@@ -70,25 +70,34 @@ devpi_upload () {
70
70
}
71
71
72
72
devpi_cloud_test () {
73
+ dctPath=../devpi-cloud-test
73
74
cloudTestPath=../devpi-cloud-test-tox
74
75
if [ ! -d " $cloudTestPath " ]; then
75
76
echo " needs $cloudTestPath "
76
77
exit 1
77
78
fi
79
+ pip install -e ${dctPath}
78
80
_confirm " trigger devpi cloud tests for ${VERSION} ?"
79
81
cd ${cloudTestPath}
80
82
dct trigger ${VERSION}
81
83
xdg-open https://github.com/tox-dev/devpi-cloud-test-tox
82
84
cd ../tox
83
85
}
84
86
85
- # TODO get devpi push to work again
86
87
pypi_release () {
87
88
PACKAGES=$( ls dist/* )
88
89
_confirm " upload to pypi: $PACKAGES ?"
90
+ # TODO get devpi push to work again
91
+ # get rid of this ...
89
92
twine upload ${PACKAGES}
90
- git push upstream master
91
- git push upstream ${VERSION}
93
+ # ... and do this when this is fixed:
94
+ # https://github.com/devpi/devpi/issues/449
95
+ # devpi push tox==${VERSION} pypi:pypi
96
+
97
+ # TODO do the right thing here when using a release branch
98
+ # promote changes in code and tag to repo
99
+ # git push upstream master
100
+ # git push upstream ${VERSION}
92
101
}
93
102
94
103
_confirm () {
You can’t perform that action at this time.
0 commit comments