Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F116302
collect-changelog
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
706 B
Referenced Files
None
Subscribers
None
collect-changelog
View Options
#!/bin/sh
url
()
{
local
mrId
=
"
$1
"
echo
"https://lily-is.land/kazv/kazv/-/merge_requests/
$mrId
"
}
collectType
()
{
local
suffix
=
"
$1
"
local
header
=
"
$2
"
local
printed
=
0
local
mrId
=
for
file
in
changelogs/*.
"
$suffix
"
;
do
if
[
'!'
-f
"
$file
"
]
;
then
continue
fi
if
[
"
$printed
"
=
0
]
;
then
echo
echo
"###
$header
"
printed
=
1
fi
# Normalize any trailing newlines/spaces, etc.
mrId
=
"
$(
basename
"
$file
"
".
$suffix
"
)
"
echo
"-
$(
cat
"
$file
"
)
.
$(
url
"
$mrId
"
)
"
done
}
collectType security Security
collectType add Added
collectType fix Fixed
collectType remove Removed
rm changelogs/*
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sun, Dec 1, 4:36 AM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41598
Default Alt Text
collect-changelog (706 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment