1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +13:00
This commit is contained in:
adrinr 2023-04-18 11:53:13 +01:00
parent 86efe11dd8
commit 767f9ae792

View file

@ -101,10 +101,9 @@ jobs:
echo $(git branch -r)
echo $(git ls-remote --heads)
echo $(git log -n 1 --pretty=format:%H)
echo $(git log -n 1 refs/heads/chore/pro_as_submodule)
echo $(git log -n 1 origin/chore/pro_as_submodule)
echo $(git log -n 1 chore/pro_as_submodule)
if ! git merge-base --is-ancestor $(git log -n 1 --pretty=format:%H) refs/heads/chore/pro_as_submodule; then
if ! git merge-base --is-ancestor $(git log -n 1 --pretty=format:%H) origin/chore/pro_as_submodule; then
echo "Current commit has not been merged to develop"
exit 1
else