summaryrefslogtreecommitdiff
path: root/.local/bin/merge-renovate
blob: ce23161ff28e12fb27b5d05d1f4e30209909ff6e (plain)
1
2
3
4
5
6
7
8
#!/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