Skip to content

Commit

Permalink
Improvements to release and TODO list.
Browse files Browse the repository at this point in the history
  • Loading branch information
Amjith Ramanujam committed Dec 18, 2014
1 parent 7d98b4a commit 2f4df27
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion TODO
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
5 changes: 5 additions & 0 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import re
import ast
import subprocess
import sys

DEBUG = False

Expand Down Expand Up @@ -45,6 +46,10 @@ def create_source_tarball():
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()
Expand Down

0 comments on commit 2f4df27

Please sign in to comment.