Skip to content

Commit

Permalink
uprev and add TRAVIS_TAG check, update HISTORY.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Jan 11, 2017
1 parent e4d4eb6 commit 606f336
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .grablib.lock
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a451e4d39b8d7ef62d380d07742b782f https://raw.githubusercontent.com/livereload/livereload-js/v2.2.1/dist/livereload.js livereload.js
a451e4d39b8d7ef62d380d07742b782f https://raw.githubusercontent.com/livereload/livereload-js/v2.2.1/dist/livereload.js livereload.js
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ install:
script:
- make lint
- make test
- make check_tag_version
#- make docs

after_success:
Expand Down
10 changes: 10 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
History
-------

0.1.2 (2017-01-11)
------------------
* move to ``grablib`` for downloading ``livereload.js``
* update aiohttp-session from 0.7.1 to 0.8.0 (#9)
* update aiopg from 0.12.0 to 0.13.0 (#11)
* update aiohttp-jinja2 from 0.8.0 to 0.13.0 (#12)
* fix formatting and typos in numerous commends and start's README
* fix template variable in ``requirements.txt``
* check tag matches ``version.VERSION`` before a release

0.1.1 (2017-01-06)
------------------
* fix template variables so ``settings.yml`` include db connection settings and ``requirements.txt`` is correct
Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ install:
pip install -r tests/requirements.txt
grablib

.PHONY: check_tag_version
check_tag_version:
python -c "import sys, os; \
from aiohttp_devtools.version import VERSION; \
os.getenv('TRAVIS_TAG') not in (None, '', str(VERSION)) and sys.exit(1)"

.PHONY: isort
isort:
isort -rc -w 120 -sg */template/* aiohttp_devtools
Expand Down
2 changes: 1 addition & 1 deletion aiohttp_devtools/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__all__ = ['VERSION']

VERSION = StrictVersion('0.1.1')
VERSION = StrictVersion('0.1.2')

0 comments on commit 606f336

Please sign in to comment.