This commit is contained in:
adrinr 2023-04-17 21:05:41 +01:00
parent edce4fc4ed
commit 08ba41c5aa
1 changed files with 1 additions and 3 deletions

View File

@ -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