Skip to content

Commit 76b1044

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

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
8+
git clone https://${WHEELS_PUSH_TOKEN}@github.com/mypyc/mypy_mypyc-wheels.git build
99

1010
git config --global user.email "nobody"
1111
git config --global user.name "mypy wheels autopush"
1212

1313
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
14+
pip install -r mypy-requirements.txt
1915
V=$(python3 -m mypy --version)
2016
V=$(echo "$V" | cut -d" " -f2)
21-
cd ..
17+
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)