File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 5
5
6
6
# $WHEELS_PUSH_TOKEN is stored in travis and is an API token for the
7
7
# 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
9
9
10
10
git config --global user.email " nobody"
11
11
git config --global user.name " mypy wheels autopush"
12
12
13
13
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
19
15
V=$( python3 -m mypy --version)
20
16
V=$( echo " $V " | cut -d" " -f2)
21
- cd ..
17
+
18
+ cd build
19
+ echo $COMMIT > mypy_commit
22
20
git commit -am " Build wheels for mypy $V "
23
21
git tag v$V
24
22
# Push a tag, but no need to push the change to master
You can’t perform that action at this time.
0 commit comments