|
a/pyforge/push_re.py |
|
b/pyforge/push_re.py |
|
... |
|
... |
48 |
else: last_release = ''
|
48 |
else: last_release = ''
|
49 |
changes = command(
|
49 |
changes = command(
|
50 |
'git', 'log', "--format=* %h %s", last_release.strip() + '..')
|
50 |
'git', 'log', "--format=* %h %s", last_release.strip() + '..')
|
51 |
changes = ''.join(changes)
|
51 |
changes = ''.join(changes)
|
52 |
prelaunch = []
|
52 |
prelaunch = []
|
53 |
postlaunch = []
|
53 |
postlaunch = ['* allurapaste ensure_index']
|
54 |
needs_reactor_setup = raw_input('Does this release require a reactor_setup? [n]')
|
54 |
needs_reactor_setup = raw_input('Does this release require a reactor_setup? [n]')
|
55 |
needs_flyway = raw_input('Does this release require a migration? [y]')
|
55 |
needs_flyway = raw_input('Does this release require a migration? [y]')
|
56 |
if needs_reactor_setup[:1].lower() in ('y', '1'):
|
56 |
if needs_reactor_setup[:1].lower() in ('y', '1'):
|
57 |
postlaunch.append('* service reactor stop')
|
57 |
postlaunch.append('* service reactor stop')
|
58 |
postlaunch.append('* allurapaste reactor_setup /var/local/config/production.ini')
|
58 |
postlaunch.append('* allurapaste reactor_setup /var/local/config/production.ini')
|