#!/bin/bash

last_deploy=$(ssh bender@mt04.va.3sca.net "cd /home/bender/system_production/repo/; git rev-parse HEAD")
git log --since=2.weeks.ago --merges --branches=master --first-parent --graph --pretty=oneline | sed -e "s/^\* \(.*$last_deploy.*\)/* [DEPLOYED] 	\1/" -e "s,#\([0-9][0-9]*\),http://www.github.com/3scale/system/pull/\1,"
