FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
docarray/.github/release-template.ejs at main · docarray/docarray · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
docarray
/
docarray
Public
Notifications
You must be signed in to change notification settings
Fork
243
Star
3.1k
Code
Issues
68
Pull requests
43
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
docarray
/
.github
/
release-template.ejs
Copy path
More file actions
More file actions
Latest commit
History
History
History
173 lines (149 loc) · 4.53 KB
Breadcrumbs
docarray
/
.github
/
release-template.ejs
Copy path
File metadata and controls
173 lines (149 loc) · 4.53 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<%
var
groupCommits
=
[
{
name
:
'
breaking
'
,
show
:
true
,
list
:
[]
}, {
name
:
'
feat
'
,
show
:
true
,
list
:
[]
}, {
name
:
'
perf
'
,
show
:
true
,
list
:
[]
}, {
name
:
'
fix
'
,
show
:
true
,
list
:
[]
}, {
name
:
'
refactor
'
,
show
:
true
,
list
:
[]
}, {
name
:
'
docs
'
,
show
:
true
,
list
:
[]
}, {
name
:
'
test
'
,
show
:
true
,
list
:
[]
}, {
name
:
'
other
'
,
show
:
true
,
list
:
[]
}
]
var
all_titles
=
{};
var
all_commiters
=
{};
var
commitHref
=
"
https://github.com/jina-ai/docarray/commit/
"
commits
.
forEach
(
function
(
commit
) {
var
result
=
(
commit
.
title
).
match
(
/
^
(
\w
*
)(
\(
(
.
*
)
\)
)
?
\:
(
.
*
)
$
/
);
var
type
=
result
&&
result[
1
];
var
scope
=
result
&&
result[
3
];
var
title
=
result
&&
result[
4
];
var
committer
=
commit
.
authorName
if
(
!
(committer
in
all_commiters)) {
all_commiters[committer]
=
1
}
if
(
!
(title
in
all_titles)) {
all_titles[title]
=
1
if
( title
!=
null
&&
(
title
.
indexOf
(
'
💥
'
)
>
-
1
||
title
.
indexOf
(
'
:boom:
'
)
>
-
1
) ){
groupCommits
.
find
(
item
=>
item
.
name
===
'
breaking
'
).
list
.
push
({
type
:
type,
scope
:
scope,
title
:
title,
commit
:
commit
})
}
else
if
(type
==
'
fix
'
||
type
==
'
fixed
'
){
groupCommits
.
find
(
item
=>
item
.
name
===
'
fix
'
).
list
.
push
({
type
:
type,
scope
:
scope,
title
:
title,
commit
:
commit
})
}
else
if
(type
==
'
perf
'
||
type
==
'
performance
'
){
groupCommits
.
find
(
item
=>
item
.
name
===
'
perf
'
).
list
.
push
({
type
:
type,
scope
:
scope,
title
:
title,
commit
:
commit
})
}
else
if
(type
==
'
feat
'
||
type
==
'
feature
'
){
groupCommits
.
find
(
item
=>
item
.
name
===
'
feat
'
).
list
.
push
({
type
:
type,
scope
:
scope,
title
:
title,
commit
:
commit
})
}
else
if
(type
==
'
refactor
'
){
groupCommits
.
find
(
item
=>
item
.
name
===
'
refactor
'
).
list
.
push
({
type
:
type,
scope
:
scope,
title
:
title,
commit
:
commit
})
}
else
if
(type
==
'
docs
'
||
type
==
'
doc
'
){
groupCommits
.
find
(
item
=>
item
.
name
===
'
docs
'
).
list
.
push
({
type
:
type,
scope
:
scope,
title
:
title,
commit
:
commit
})
}
else
if
(type
==
'
test
'
||
type
==
'
tests
'
||
type
==
'
ci
'
){
groupCommits
.
find
(
item
=>
item
.
name
===
'
test
'
).
list
.
push
({
type
:
type,
scope
:
scope,
title
:
title,
commit
:
commit
})
}
else
{
groupCommits
.
find
(
item
=>
item
.
name
===
'
other
'
).
list
.
push
({
type
:
type,
scope
:
scope,
title
:
title,
commit
:
commit
})
}
}
});
var
listCommits
=
function
(
list
,
key
){
list
.
forEach
(
function
(
ct
) {
var
type
=
ct
.
type
;
var
scope
=
ct
.
scope
;
var
title
=
'
'
;
var
commit
=
ct
.
commit
;
if
(type){
if
(key
!=
'
other
'
){
title
=
(scope
?
'
__
'
+
scope
+
'
__:
'
:
'
'
)
+
ct
.
title
;
}
else
{
title
=
'
__
'
+
type
+
(scope
?
'
(
'
+
scope
+
'
)
'
:
'
'
)
+
'
__ :
'
+
ct
.
title
;
}
}
else
{
title
=
commit
.
title
;
}
%
>
-
<
%
if
(
typeof
commitHref
===
'
undefined
'
||
commitHref
===
'
'
) {
%
>
[
`
`
`
<%=commit.sha1.slice(0,8)%>
`
`
`
]
<
%
}
else
{
%
>
[[
`
`
`
<%=commit.sha1.slice(0,8)%>
`
`
`
](
<
%=
commitHref
%
><
%=
commit
.
sha1
%
>
)]
<
%
}
%
>
__
-
__
<
%=
title
%
>
(
*
<
%=
commit
.
authorName
%
>
*
)
<
%
})}
%>
🙇 We'd like to thank all contributors for this new release! In particular,
<%
Object
.
keys
(all_commiters).
forEach
(
function
(
key
) {
%
>
<
%=
key
%
>
,
<
%
})
%>
🙇
<%
for
(
var
i
of
groupCommits){
if
(
i
.
list
.
length
==
0
)
continue
;
if
(
i
.
name
===
'
breaking
'
&&
i
.
show
) {
%
>
### 💥 Breaking changes
<
%
}
else
if
(
i
.
name
===
'
fix
'
&&
i
.
show
) {
%
>
### 🐞 Bug fixes
<
%
}
else
if
(
i
.
name
===
'
feat
'
&&
i
.
show
) {
%
>
### 🆕 New Features
<
%
}
else
if
(
i
.
name
===
'
perf
'
&&
i
.
show
) {
%
>
### ⚡
Performance
Improvements
<
%
}
else
if
(
i
.
name
===
'
refactor
'
&&
i
.
show
) {
%
>
### 🧼 Code Refactoring
<
%
}
else
if
(
i
.
name
===
'
docs
'
&&
i
.
show
) {
%
>
### 📗 Documentation
<
%
}
else
if
(
i
.
name
===
'
test
'
&&
i
.
show
) {
%
>
### 🏁 Unit Test and
CICD
<
%
}
else
if
(
i
.
name
===
'
other
'
&&
i
.
show
) {
%
>
### 🍹 Other Improvements
<
%
}
i
.
show
&&
listCommits
(
i
.
list
, i);
}
%>
Back
|
FazBrowse Home
|
New Git URL