update promote script to work better for 'patches'
1 file changed