Skip to content

Latest commit

 

History

History
64 lines (51 loc) · 1.03 KB

File metadata and controls

64 lines (51 loc) · 1.03 KB

Release

Betas

You can use maintaner/release.py:

./maintaner/release.py micro src/click/plus/__init__.py
git push origin beta/0.0.3

Or following the instructions.

  1. Start from the master branch version
git co master
git pull
grep __version__ src/click/plus/__init__.py | python -c 'ask=input(); print(ask.split("\"")[1])'
0.0.2
  1. update the src/click/plus/init.py
__version__ = 0.0.3
git commit -m "release 0.0.3" src/click/plus/__init__.py
  1. Cretate the new branch:
git co -b beta/0.0.3
git merge branch
git push origin beta/0.0.3

Prod

  1. tag
git tag -m release release/N.M.O

Testing

Cloning

git clone https://github.com/cav71/click-plus.git

TDD

PYTHONPATH=src py.test -vvs tests

junit output

(needs pytest-html, pytest-cov)

PYTHONPATH=src py.test \
   --junitxml=build/junit.xml \
   --html=build/junit.html --self-contained-html \
   --cov=click.plus --cov-report=build/coverage \
   tests