Fetch upstream in the repo

This commit is contained in:
tusooa 2023-04-22 20:40:39 -04:00
parent 50e237759a
commit e13b331762
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224

View File

@ -2,7 +2,10 @@
echo "looking for change log" echo "looking for change log"
git diff --raw $CI_MERGE_REQUEST_TARGET_BRANCH_NAME HEAD -- changelog.d | \ 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 diff --raw upstream/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME HEAD -- changelog.d | \
grep ' A\t' | grep '\.\(skip\|add\|remove\|fix\|security\)$' grep ' A\t' | grep '\.\(skip\|add\|remove\|fix\|security\)$'
ret=$? ret=$?