Skip to content

Commit 0f4e7d9

Browse files
authored
Add more details to release steps.
1 parent e0f0b2f commit 0f4e7d9

File tree

1 file changed

+20
-12
lines changed

1 file changed

+20
-12
lines changed

release-procedure.md

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
* Add current date to `docs/source/changelog.rst`.
21

32
* Send PR to prepare release on scheduled date.
43

5-
* Verify you are on the latest changes. `rebase -i` should be noop.
4+
* Add current date and any missing changes to [`docs/source/changelog.rst`](https://github.com/pydata/pandas-gbq/blob/master/docs/source/changelog.rst).
5+
6+
* Verify your local repository is on the latest changes. `rebase -i` should be noop.
67

78
git fetch pandas-gbq master
89
git checkout master
@@ -13,28 +14,35 @@
1314

1415
git tag -a x.x.x -m 'Version x.x.x'
1516

16-
* and push to github
17+
* Push to GitHub
1718

1819
git push pandas-gbq master --tags
1920

20-
* Build the package
21+
* Build the package
2122

2223
git clean -xfd
2324
python setup.py register sdist bdist_wheel --universal
2425

25-
* Upload to test PyPI
26+
* Upload to test PyPI
2627

27-
twine upload --repository testpypi dist/*
28+
twine upload --repository testpypi dist/*
2829

29-
* Try out test PyPI package
30+
* Try out test PyPI package
3031

31-
pip install --upgrade --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pandas-gbq
32+
pip install --upgrade --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pandas-gbq
3233

33-
* Upload to PyPI
34+
* Upload to PyPI
3435

3536
twine upload dist/*
3637

37-
* Do a pull-request to the feedstock on `pandas-gbq-feedstock <https://github.com/conda-forge/pandas-gbq-feedstock/>`__
38+
* Create the [release on GitHub](https://github.com/pydata/pandas-gbq/releases/new) using the tag created earlier.
39+
40+
* Copy release notes from [changelog.rst](https://github.com/pydata/pandas-gbq/blob/master/docs/source/changelog.rst).
41+
* Upload wheel and source zip from `dist/` directory.
42+
43+
* Do a pull-request to the feedstock on `pandas-gbq-feedstock <https://github.com/conda-forge/pandas-gbq-feedstock/>`__
44+
(Or review PR from @regro-cf-autotick-bot which updates the feedstock).
3845

39-
update the version
40-
update the SHA256 (retrieve from PyPI)
46+
* update the version
47+
* update the SHA256 (retrieve from PyPI)
48+
* update the dependencies (if they changed)

0 commit comments

Comments
 (0)