Commits

Thejesh GN committed 21396f9

updated fabfile

Comments (0)

Files changed (1)

 from fabric.colors import green
 from fabric.contrib.files import sed
 from fabric.operations import prompt
+
+env.user = 'thej'
+
 def publish(file):
     local('s3cmd put --acl-public '+file+' s3://text.thejeshgn.com/'+file)
     print(green("Published! - check http://text.thejeshgn.com/"+file))
    
 def backup():
     commit_msg = prompt('backup message?', default='Latest changes.')
+    local('hg add')
     local('hg commit -m "'+commit_msg+'"')
     local('hg push')