Copy
This commit is contained in:
parent
5d24a25dca
commit
67fc09e256
|
@ -101,8 +101,8 @@ jobs:
|
||||||
echo $(git log -n 5 --pretty=format:%H)
|
echo $(git log -n 5 --pretty=format:%H)
|
||||||
echo $(git branch --contains fa3583ac3eedcb546612e8c696982dda7fae492c)
|
echo $(git branch --contains fa3583ac3eedcb546612e8c696982dda7fae492c)
|
||||||
if ! git branch --contains $(git log -n 1 --pretty=format:%H) | grep -q "chore/pro_as_submodule"; then
|
if ! git branch --contains $(git log -n 1 --pretty=format:%H) | grep -q "chore/pro_as_submodule"; then
|
||||||
echo "Current commit is not part of main branch"
|
echo "Current commit has not been merged to develop"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo "All good, the submodule has been merged!"
|
echo "All good, the submodule had been merged!"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue