summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2023-04-22 20:40:39 -0400
committertusooa <tusooa@kazv.moe>2023-04-22 20:42:59 -0400
commite13b331762881933d66597b3145b4d20d6e51912 (patch)
tree4f0976dae64bf0704a673ecd8716fbeff616c109 /tools
parent50e237759a0aa378b32393ba57d50eaaff5029e0 (diff)
downloadpleroma-e13b331762881933d66597b3145b4d20d6e51912.tar.gz
pleroma-e13b331762881933d66597b3145b4d20d6e51912.zip
Fetch upstream in the repo
Diffstat (limited to 'tools')
-rw-r--r--tools/check-changelog5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/check-changelog b/tools/check-changelog
index 0b57c4d1e..1409be9f0 100644
--- a/tools/check-changelog
+++ b/tools/check-changelog
@@ -2,7 +2,10 @@
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\)$'
ret=$?