File tree Expand file tree Collapse file tree 3 files changed +26
-1
lines changed
Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 3232 echo "[pypi]" >> ~/.pypirc
3333 echo "username = __token__" >> ~/.pypirc
3434 echo "password = $PYPI_TOKEN" >> ~/.pypirc
35+ - deploy :
36+ name : Install bumpversion
37+ command : |
38+ pip3 install bumpversion
39+ - add_ssh_keys :
40+ fingerprints :
41+ - " f5:b1:10:07:7f:2e:50:a0:ee:1c:0f:aa:dc:91:20:27"
42+ - deploy :
43+ name : Bump version
44+ command : |
45+ git config --global user.email "pandas_stubs-cicd@virtuslab.com"
46+ git config --global user.name "pandas_stubs-cicd"
47+ bumpversion release --commit
48+ git push origin master
3549 - deploy :
3650 name : Install twine
3751 command : |
Original file line number Diff line number Diff line change 1+ [bumpversion]
2+ current_version = 1.1.0.12
3+ parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)\.(?P<release>\d+)
4+ serialize =
5+ {major}.{minor}.{patch}.{release}
6+ message = [skip ci] Bump pandas-stubs version: {current_version} -> {new_version}
7+
8+ [bumpversion:file:setup.py]
Original file line number Diff line number Diff line change 99from setuptools import setup
1010import os
1111
12+ version = "1.1.0.12"
13+
14+
1215# find_packages might not work with stub files
1316src_path = os .path .join ("third_party" , "3" )
1417
@@ -21,7 +24,7 @@ def list_packages(source_path: str = src_path) -> None:
2124setup (
2225 name = "pandas-stubs" ,
2326 package_dir = {"" : src_path },
24- version = "1.1.0.12" ,
27+ version = version ,
2528 description = "Type annotations for Pandas" ,
2629 long_description = (open ("README.md" ).read ()
2730 if os .path .exists ("README.md" ) else "" ),
You can’t perform that action at this time.
0 commit comments