diff options
author | Amjith Ramanujam <amjith@newrelic.com> | 2014-12-18 10:30:58 -0800 |
---|---|---|
committer | Amjith Ramanujam <amjith@newrelic.com> | 2014-12-18 10:30:58 -0800 |
commit | 2f4df27df2d0a9d927d1ee14df9181ebfdc09e17 (patch) | |
tree | 11552ee998f53a7056b2b17dac1c4e5c9b8802dc | |
parent | 7d98b4a90bddeb60351d4747a72e1a4e17427c2b (diff) |
Improvements to release and TODO list.
-rw-r--r-- | TODO | 3 | ||||
-rw-r--r-- | release.py | 5 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,6 @@ # vi: ft=vimwiki -* [ ] Separate the column completions to be table specific. +* [o] Separate the column completions to be table specific. (SELECT, INSERT, UPDATE) +* [ ] Column completion for nested sql. * [ ] Add JOIN to the list of keywords and provide proper autocompletion for it. * [ ] Use a pager to display the output. (Check Click's document). * [ ] Improve the smart completion for Insert statement. (Needs table specific columns) @@ -2,6 +2,7 @@ import re import ast import subprocess +import sys DEBUG = False @@ -45,6 +46,10 @@ if __name__ == '__main__': subprocess.check_output = lambda x: x ver = version('pgcli/__init__.py') + print ('Releasing Version:', ver) + choice = raw_input('Are you sure? (Y/N)') + if choice.lower() != 'y': + sys.exit(1) commit_for_release('pgcli/__init__.py', ver) create_git_tag('v%s' % ver) register_with_pypi() |