postgres.py icon indicating copy to clipboard operation
postgres.py copied to clipboard

write a release script

Open chadwhitacre opened this issue 11 years ago • 4 comments

needs to change version in:

  • setup.py
  • docs/conf.py
  • postgres/__init__.py

chadwhitacre avatar Aug 08 '13 04:08 chadwhitacre

update $version
git commit -m "Bump version to $version"
git tag $version
add "-dev" to $version
git commit -m "Bump version to $version"
git push --tags

chadwhitacre avatar Aug 08 '13 15:08 chadwhitacre

Also make a release in the GitHub UI, I guess:

https://github.com/gittip/postgres.py/releases/

chadwhitacre avatar Aug 08 '13 15:08 chadwhitacre

git checkout $version
python setup.py sdist upload

chadwhitacre avatar Aug 08 '13 15:08 chadwhitacre

See also https://github.com/gratipay/inside.gratipay.com/issues/309.

chadwhitacre avatar Sep 14 '15 17:09 chadwhitacre