Skip to content

Commit 163c121

Browse files
committed
add in release-procedure.md
1 parent 752e9a1 commit 163c121

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

pandas_gbq/__init__.py

+6
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
from .gbq import to_gbq, read_gbq # noqa
2+
3+
# use the closest tagged version if possible
4+
from ._version import get_versions
5+
v = get_versions()
6+
__version__ = v.get('closest-tag', v['version'])
7+
del get_versions, v

release-procedure.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
* Tag commit
2+
3+
git tag -a x.x.x -m 'Version x.x.x'
4+
5+
* and push to github
6+
7+
git push pandas-gbq master --tags
8+
9+
* Upload to PyPI
10+
11+
git clean -xfd
12+
python setup.py register sdist bdist_wheel --universal
13+
twine upload dist/*
14+
15+
* Update anaconda recipe.
16+
17+
This should happen automatically within a day or two.
18+
19+
* Update conda recipe feedstock on `conda-forge <https://conda-forge.github.io/>`_.

0 commit comments

Comments
 (0)