Skip to content

Commit 0d951e0

Browse files
committed
ci: fix deployments
1 parent ab45842 commit 0d951e0

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.circleci/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,17 @@ deploy: &deploy
3737
steps:
3838
- attach_workspace:
3939
at: "."
40+
- run:
41+
name: "Install Requirements"
42+
command: pip install -r requirement-dev.txt
4043
- run:
4144
name: "Deploy to Github Release"
4245
command: |
4346
if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$";
4447
then
4548
export GIT_TAG="$(git describe --tags $(git rev-list --tags --max-count=1))"; \
4649
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
4851
else
4952
echo "Not a release, skipping publish"
5053
fi

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ deploy:
3939

4040
deploy:
4141
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"
4343
on:
4444
tags: true

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ artifacts:
7575
name: Binary
7676

7777
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"
7979

8080
deploy:
8181
provider: GitHub

0 commit comments

Comments
 (0)