guthypeter

Untitled

Mar 31st, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.16 KB | None | 0 0
  1. #!/bin/bash
  2. python schema_exporter.py
  3.  
  4. d=$(date +%Y-%m-%d__%H_%M_%S)
  5. bzr add
  6. bzr st | grep -q -E 'added|modified' &&  commit -m "Database objects on $d"
  7. exit 0
Advertisement
Add Comment
Please, Sign In to add comment