Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F112309
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
Sat, Nov 23, 8:02 AM (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38912
Default Alt Text
collect-changelog (706 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment