This commit is contained in:
parent
edce4fc4ed
commit
08ba41c5aa
|
@ -97,9 +97,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd packages/pro
|
cd packages/pro
|
||||||
git fetch
|
git fetch
|
||||||
echo $(git log -n 1 --pretty=format:%H)
|
if ! git branch --contains $(git log -n 1 --pretty=format:%H) | grep -q "chore/pro_as_submodule"; then
|
||||||
echo $(git branch --contains $(git log -n 1 --pretty=format:%H))
|
|
||||||
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 is not part of main branch"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue