#!/bin/sh

image="$1"
[ "$image" = "" ] && echo "error: no image specified" && exit 1
git checkout -b renovate/$image master
git pull --no-edit origin renovate/$image
git checkout master
git merge --no-ff --no-edit renovate/$image