Skip to content

Commit fcf16e4

Browse files
committed
... back to 0.6.1
1 parent ed44a88 commit fcf16e4

File tree

4 files changed

+17
-8
lines changed

4 files changed

+17
-8
lines changed

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
pyrocore (0.6.1) precise; urgency=low
2+
3+
* ...
4+
5+
-- pyroscope <[email protected]> Wed, 31 May 2017 20:15:47 +0200
6+
17
pyrocore (0.5.2) precise; urgency=high
28

39
* Fix: Use `d.save_resume` to flush session

docs/conf.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,19 @@
1111
# All configuration values have a default; values that are commented out
1212
# serve to show the default.
1313

14-
import sys, os
14+
import os
15+
import re
16+
import sys
1517

1618
# If extensions (or modules to document with autodoc) are in another directory,
1719
# add these directories to sys.path here. If the directory is relative to the
1820
# documentation root, use os.path.abspath to make it absolute, like shown here.
1921
#sys.path.insert(0, os.path.abspath('.'))
2022

23+
project_root = os.path.dirname(os.path.dirname(__file__))
24+
project_version = open(os.path.join(project_root, 'debian', 'changelog')).readline().strip()
25+
project_version = re.match(r'.*\(([^)]+)\).*', project_version).group(1)
26+
2127
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
2228
if not on_rtd:
2329
import sphinx_rtd_theme
@@ -60,9 +66,9 @@
6066
# built documents.
6167
#
6268
# The short X.Y version.
63-
version = '0.5.2'
69+
version = project_version
6470
# The full version, including alpha/beta/rc tags.
65-
release = version
71+
release = project_version
6672

6773
# The language for content autogenerated by Sphinx. Refer to documentation
6874
# for a list of supported languages.

pavement.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,6 @@ def release():
370370
error("\n*** ERROR: You're still using a 'dev' version!")
371371
sys.exit(1)
372372

373-
# Check docs version
374-
sh("grep '^version = .%s.$' docs/conf.py" % version)
375-
376373
# Check that source distribution can be built and is complete
377374
print
378375
print "~~~ TESTING SOURCE BUILD".ljust(78, '~')

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[egg_info]
2-
##tag_build = dev
3-
##tag_date = true
2+
tag_build = dev
3+
tag_date = true
44

55
[sdist]
66
formats = zip

0 commit comments

Comments
 (0)