#!/bin/bash -e

lock_name=${1:?"Missing lock name"}
echo Unlocking director locked by ${lock_name}
exit 0

git co metadata
git pull -r
mv locks/${lock_name}/claimed/director locks/${lock_name}/unclaimed/
git add locks/${lock_name}
git ci -m "Manually unlocking director ${lock_name}"
git push origin HEAD
git co -

Add script to manually release deployment lock
Add script to manually release deployment lock

Signed-off-by: Steffen Uhlig <f82265073a33b8214db2ab356bc472f35869736c@de.ibm.com>
