Skip to content

Commit 2d647e2

Browse files
author
hauntsaninja
committed
update trigger wheel build for new wheel building
1 parent 035ac2f commit 2d647e2

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

misc/trigger_wheel_build.sh

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,18 @@
55

66
# $WHEELS_PUSH_TOKEN is stored in travis and is an API token for the
77
# mypy-build-bot account.
8-
git clone --recurse-submodules https://${WHEELS_PUSH_TOKEN}@github.com/mypyc/mypy_mypyc-wheels.git build
98

109
git config --global user.email "nobody"
1110
git config --global user.name "mypy wheels autopush"
1211

1312
COMMIT=$(git rev-parse HEAD)
14-
cd build/mypy
15-
git fetch
16-
git checkout $COMMIT
17-
git submodule update
18-
pip install -r test-requirements.txt
13+
pip install -r mypy-requirements.txt
1914
V=$(python3 -m mypy --version)
2015
V=$(echo "$V" | cut -d" " -f2)
21-
cd ..
16+
17+
git clone https://${WHEELS_PUSH_TOKEN}@github.com/mypyc/mypy_mypyc-wheels.git build
18+
cd build
19+
echo $COMMIT > mypy_commit
2220
git commit -am "Build wheels for mypy $V"
2321
git tag v$V
2422
# Push a tag, but no need to push the change to master

0 commit comments

Comments
 (0)