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.
- 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- update the src/click/plus/init.py
__version__ = 0.0.3git commit -m "release 0.0.3" src/click/plus/__init__.py- Cretate the new branch:
git co -b beta/0.0.3
git merge branch
git push origin beta/0.0.3- tag
git tag -m release release/N.M.Ogit clone https://github.com/cav71/click-plus.git
PYTHONPATH=src py.test -vvs tests(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