Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bump version and use version from docs/conf.py

  • Loading branch information...
commit 9ed366fa1ce223b104926e36bf02c895275edf33 1 parent 12b360c
@dreid dreid authored
Showing with 3 additions and 4 deletions.
  1. +2 −3 docs/conf.py
  2. +1 −1  treq/_version
View
5 docs/conf.py
@@ -47,10 +47,9 @@
# |version| and |release|, also used in various other places throughout the
# built documents.
#
-# The short X.Y version.
-version = '0.1'
# The full version, including alpha/beta/rc tags.
-release = '0.1.0'
+release = open('../treq/_version').readline().strip()
+version = '.'.join(release.split('.')[:2])
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
View
2  treq/_version
@@ -1 +1 @@
-0.1dev
+0.1.0
Please sign in to comment.
Something went wrong with that request. Please try again.