Skip to content
Snippets Groups Projects
Commit 5d598a5d authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-inventories/arocom#168 Pull and log the current branch

parent 477b2b69
Branches
No related tags found
No related merge requests found
......@@ -18,8 +18,9 @@ if [ -f 'ansible.sh' ]; then
./ansible.sh
fi
echo 'git pull'
git pull origin master
branch="$(git rev-parse --abbrev-ref HEAD)"
echo 'git pull $branch'
git pull origin "$branch"
if [ -f 'ansible.patch' ]; then
echo '> ansible.patch'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment