Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85948873
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
777 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/tools/check-changelog b/tools/check-changelog
index 0b57c4d1e..1409be9f0 100644
--- a/tools/check-changelog
+++ b/tools/check-changelog
@@ -1,15 +1,18 @@
#!/bin/sh
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=$?
if [ $ret -eq 0 ]; then
echo "found a changelog entry"
exit 0
else
echo "changelog entry not found"
exit 1
fi
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Tue, Nov 17, 2:12 PM (9 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1839586
Default Alt Text
(777 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline