Fix changelogd grep syntax error

This commit is contained in:
Mark Felder 2023-11-08 12:27:46 -05:00
parent 17524865e5
commit addc5408ff

View File

@ -6,7 +6,7 @@ git remote add upstream https://git.pleroma.social/pleroma/pleroma.git
git fetch upstream ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}:refs/remotes/upstream/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME git fetch upstream ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}:refs/remotes/upstream/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME
git diff --raw --no-renames upstream/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME HEAD -- changelog.d | \ git diff --raw --no-renames upstream/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME HEAD -- changelog.d | \
grep ' A\t' | grep '\.\(skip\|add\|remove\|fix\|security|change\)$' grep ' A\t' | grep '\.\(skip\|add\|remove\|fix\|security\|change\)$'
ret=$? ret=$?
if [ $ret -eq 0 ]; then if [ $ret -eq 0 ]; then