@@ -66,6 +66,12 @@ build:
66
66
image : vaticle-ubuntu-21.04
67
67
dependencies : [ build, build-dependency ]
68
68
command : |
69
+ pyenv install 3.7.12
70
+ pyenv global 3.7.12
71
+ sudo unlink /usr/bin/python3
72
+ sudo ln -s $(which python3) /usr/bin/python3
73
+ sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.7.12/lib/python3.7/site-packages/lsb_release.py
74
+
69
75
export DEPLOY_PIP_USERNAME=$REPO_VATICLE_USERNAME
70
76
export DEPLOY_PIP_PASSWORD=$REPO_VATICLE_PASSWORD
71
77
bazel run --define version=$(git rev-parse HEAD) //grammar/python:deploy-pip -- snapshot
@@ -78,8 +84,9 @@ release:
78
84
deploy-github :
79
85
image : vaticle-ubuntu-21.04
80
86
command : |
81
- pyenv install -s 3.6.10
82
- pyenv global 3.6.10 system
87
+ pyenv install -s 3.7.12
88
+ pyenv global 3.7.12 system
89
+ pip3 install -U pip
83
90
pip3 install certifi
84
91
export NOTES_CREATE_TOKEN=$REPO_GITHUB_TOKEN
85
92
bazel run @vaticle_dependencies//tool/release/notes:create -- $GRABL_OWNER $GRABL_REPO $GRABL_COMMIT $(cat VERSION) ./RELEASE_TEMPLATE.md
@@ -103,6 +110,9 @@ release:
103
110
image : vaticle-ubuntu-21.04
104
111
dependencies : [ deploy-github ]
105
112
command : |
113
+ pyenv install -s 3.7.12
114
+ pyenv global 3.7.12 system
115
+ pip3 install -U pip
106
116
export DEPLOY_PIP_USERNAME=$REPO_PYPI_USERNAME
107
117
export DEPLOY_PIP_PASSWORD=$REPO_PYPI_PASSWORD
108
118
bazel run --define version=$(cat VERSION) //grammar/python:deploy-pip -- release
0 commit comments