Commit 553e449d authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Release version 0.4.0

parent 7ebe1a1b
...@@ -154,7 +154,7 @@ def get_version(): ...@@ -154,7 +154,7 @@ def get_version():
return fi.read() return fi.read()
def git(): def git(version):
"""Commit and tag the current release. """Commit and tag the current release.
""" """
...@@ -163,8 +163,6 @@ def git(): ...@@ -163,8 +163,6 @@ def git():
print '\tSkip this step.\n' print '\tSkip this step.\n'
return return
version = get_version()
# check tag in git # check tag in git
fi = tempfile.TemporaryFile() fi = tempfile.TemporaryFile()
subprocess.call(["git", "tag"], stdout=fi) subprocess.call(["git", "tag"], stdout=fi)
...@@ -245,7 +243,9 @@ def set_version(version): ...@@ -245,7 +243,9 @@ def set_version(version):
subprocess.call(["vim", CHANGELOG]) subprocess.call(["vim", CHANGELOG])
# cleaning # cleaning
os.remove("%s~" % CHANGELOG ) fn = "%s~" % CHANGELOG
if os.path.exists(fn):
os.remove(fn)
def sphinx(): def sphinx():
...@@ -335,7 +335,7 @@ if __name__ == '__main__': ...@@ -335,7 +335,7 @@ if __name__ == '__main__':
set_version(version) set_version(version)
if opt.git: if opt.git:
git() git(version)
if opt.epydoc: if opt.epydoc:
epydoc() epydoc()
...@@ -358,7 +358,7 @@ if __name__ == '__main__': ...@@ -358,7 +358,7 @@ if __name__ == '__main__':
version = (args[0] if args else raw_input(MSG_VERSION)) version = (args[0] if args else raw_input(MSG_VERSION))
set_version(version) set_version(version)
git() git(version)
epydoc() epydoc()
jsduck() jsduck()
sphinx() sphinx()
......
--------------------------------- CHANGE LOG ---------------------------------- --------------------------------- CHANGE LOG ----------------------------------
HEAD HEAD
0.4.0 (Feb 2015)
- Major release non-backward compatible. - Major release non-backward compatible.
- Migrate to plugin_dbui 0.6.2.2 and to python-pandas 0.15.2 - Migrate to plugin_dbui 0.6.2.2 and to python-pandas 0.15.2
- Migrate from sqlite to mariadb. - Migrate from sqlite to mariadb.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment