File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,17 @@ deploy: &deploy
37
37
steps :
38
38
- attach_workspace :
39
39
at : " ."
40
+ - run :
41
+ name : " Install Requirements"
42
+ command : pip install -r requirement-dev.txt
40
43
- run :
41
44
name : " Deploy to Github Release"
42
45
command : |
43
46
if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$";
44
47
then
45
48
export GIT_TAG="$(git describe --tags $(git rev-list --tags --max-count=1))"; \
46
49
ghr -u "${CIRCLE_PROJECT_USERNAME}" -r "${CIRCLE_PROJECT_REPONAME}" "${GIT_TAG}" build/lib/py_sourcemap/*.so && \
47
- python upload-ali-oss.py
50
+ python upload-ali-oss.py build/lib/py_sourcemap/*.so
48
51
else
49
52
echo "Not a release, skipping publish"
50
53
fi
Original file line number Diff line number Diff line change @@ -39,6 +39,6 @@ deploy:
39
39
40
40
deploy :
41
41
provider : script
42
- script : python upload-ali-oss.py
42
+ script : python upload-ali-oss.py "natives/py_sourcemap.cpython-${PYTHON_NATIVE_ABI}m-x86_64-apple-darwin.so"
43
43
on :
44
44
tags : true
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ artifacts:
75
75
name : Binary
76
76
77
77
before_deploy :
78
- - " %PYTHON%\\ python.exe upload-ali-oss.py"
78
+ - " %PYTHON%\\ python.exe upload-ali-oss.py build \\ lib \\ py_sourcemap \\ py_sourcemap.cp%PYVERSION%-%ARC%.pyd "
79
79
80
80
deploy :
81
81
provider : GitHub
You can’t perform that action at this time.
0 commit comments