Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85833061
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
751 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/tools/check-changelog b/tools/check-changelog
index c3e9e07c7..b94b52755 100644
--- a/tools/check-changelog
+++ b/tools/check-changelog
@@ -1,22 +1,22 @@
#!/bin/sh
-echo $CI_MERGE_REQUEST_IID
-ls changelog.d
+echo "looking for change log of $CI_MERGE_REQUEST_IID"
+
count=0
for i in add remove fix security skip; do
[ -f changelog.d/"$CI_MERGE_REQUEST_IID"."$i" ]
retcode=$?
if [ $retcode -eq 0 ]; then
echo "found $CI_MERGE_REQUEST_IID.$i"
- count=$(( count++ ))
+ count=$(( count + 1 ))
else
echo "no $CI_MERGE_REQUEST_IID.$i"
fi
done
if [ $count -gt 0 ]; then
echo "ok"
exit 0
else
echo "must have a changelog entry or explicitly skip it"
exit 1
fi
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Nov 2, 9:50 AM (2 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1804317
Default Alt Text
(751 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline