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
9
8
10
9
git config --global user.email " nobody"
11
10
git config --global user.name " mypy wheels autopush"
12
11
13
12
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
19
14
V=$( python3 -m mypy --version)
20
15
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
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