@vavt/github-action-test 0.5.2 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -95,7 +95,9 @@ jobs:
|
|
|
95
95
|
: > "${FIXES_FILE}"
|
|
96
96
|
: > "${OTHERS_FILE}"
|
|
97
97
|
|
|
98
|
-
while IFS
|
|
98
|
+
while IFS= read -r -d '' FULL_HASH \
|
|
99
|
+
&& IFS= read -r -d '' SUBJECT \
|
|
100
|
+
&& IFS= read -r -d '' BODY; do
|
|
99
101
|
[ -z "${FULL_HASH:-}" ] && continue
|
|
100
102
|
SUBJECT="$(printf '%s' "${SUBJECT}" | sed -E 's/^[[:space:]]+|[[:space:]]+$//g')"
|
|
101
103
|
[ -z "${SUBJECT}" ] && continue
|
|
@@ -130,26 +132,40 @@ jobs:
|
|
|
130
132
|
|
|
131
133
|
SHORT_HASH="$(printf '%s' "${FULL_HASH}" | cut -c1-7)"
|
|
132
134
|
printf -- '- %s ([%s](%s/commit/%s))\n' "${CLEAN_SUBJECT}" "${SHORT_HASH}" "${REPO_URL}" "${FULL_HASH}" >> "${TARGET_FILE}"
|
|
133
|
-
|
|
135
|
+
|
|
136
|
+
BODY_CLEAN="$(printf '%s\n' "${BODY}" \
|
|
137
|
+
| sed 's/\r$//' \
|
|
138
|
+
| sed -E 's/^[[:space:]]+|[[:space:]]+$//g' \
|
|
139
|
+
| sed '/^[[:space:]]*$/d')"
|
|
140
|
+
|
|
141
|
+
if [ -n "${BODY_CLEAN}" ]; then
|
|
142
|
+
while IFS= read -r BODY_LINE; do
|
|
143
|
+
[ -z "${BODY_LINE}" ] && continue
|
|
144
|
+
printf ' %s\n' "${BODY_LINE}" >> "${TARGET_FILE}"
|
|
145
|
+
done <<< "${BODY_CLEAN}"
|
|
146
|
+
fi
|
|
147
|
+
|
|
148
|
+
printf '\n' >> "${TARGET_FILE}"
|
|
149
|
+
done < <(git log "${RANGE}" --no-merges --format='%H%x00%s%x00%b%x00' || true)
|
|
134
150
|
|
|
135
151
|
write_section() {
|
|
136
152
|
local title="$1"
|
|
137
153
|
local file="$2"
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
cat "${file}"
|
|
141
|
-
else
|
|
142
|
-
printf -- '- None\n'
|
|
154
|
+
if [ ! -s "${file}" ]; then
|
|
155
|
+
return 1
|
|
143
156
|
fi
|
|
157
|
+
printf '### %s\n\n' "${title}"
|
|
158
|
+
cat "${file}"
|
|
144
159
|
printf '\n'
|
|
160
|
+
return 0
|
|
145
161
|
}
|
|
146
162
|
|
|
147
163
|
{
|
|
148
164
|
printf '## %s (%s)\n\n' "${DISPLAY_VERSION}" "${DATE}"
|
|
149
|
-
write_section 'Features' "${FEATURES_FILE}"
|
|
150
|
-
write_section 'Refactors' "${REFACTORS_FILE}"
|
|
151
|
-
write_section 'Fixed Bugs' "${FIXES_FILE}"
|
|
152
|
-
write_section 'Others' "${OTHERS_FILE}"
|
|
165
|
+
write_section 'Features' "${FEATURES_FILE}" || true
|
|
166
|
+
write_section 'Refactors' "${REFACTORS_FILE}" || true
|
|
167
|
+
write_section 'Fixed Bugs' "${FIXES_FILE}" || true
|
|
168
|
+
write_section 'Others' "${OTHERS_FILE}" || true
|
|
153
169
|
printf '**Full Changelog**: [%s...%s](%s)\n\n' "${COMPARE_FROM}" "${TAG_NAME}" "${COMPARE_URL}"
|
|
154
170
|
printf -- '---\n'
|
|
155
171
|
} > /tmp/release-entry.md
|
package/CHANGELOG.md
CHANGED
|
@@ -3,8 +3,56 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
6
10
|
<!-- next-release -->
|
|
7
11
|
|
|
12
|
+
## 0.6.0 (2026-03-01)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- None
|
|
17
|
+
|
|
18
|
+
### Refactors
|
|
19
|
+
|
|
20
|
+
- None
|
|
21
|
+
|
|
22
|
+
### Fixed Bugs
|
|
23
|
+
|
|
24
|
+
- None
|
|
25
|
+
|
|
26
|
+
### Others
|
|
27
|
+
|
|
28
|
+
- ci: 移除多余的issue入口 ([545e99b](https://github.com/imzbf/github-action-test/commit/545e99b6dc9e7d7ca68dc6b43dd6b8d53c4cca29))
|
|
29
|
+
|
|
30
|
+
**Full Changelog**: [v0.5.2...v0.6.0](https://github.com/imzbf/github-action-test/compare/v0.5.2...v0.6.0)
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## 0.5.2 (2026-03-01)
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
- None
|
|
39
|
+
|
|
40
|
+
### Refactors
|
|
41
|
+
|
|
42
|
+
- None
|
|
43
|
+
|
|
44
|
+
### Fixed Bugs
|
|
45
|
+
|
|
46
|
+
- 测试关闭BUG2 ([595dc1b](https://github.com/imzbf/github-action-test/commit/595dc1b1272223ee497dc62326b104939b7dc925))
|
|
47
|
+
|
|
48
|
+
### Others
|
|
49
|
+
|
|
50
|
+
- ci: 测试评论BUG3 ([777ad35](https://github.com/imzbf/github-action-test/commit/777ad3587c6d6a20d58fe7656a07bc2a025ea4fa))
|
|
51
|
+
|
|
52
|
+
**Full Changelog**: [v0.5.1...v0.5.2](https://github.com/imzbf/github-action-test/compare/v0.5.1...v0.5.2)
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
8
56
|
## 0.5.1 (2026-03-01)
|
|
9
57
|
|
|
10
58
|
### Features
|
package/package.json
CHANGED
package/src/main.jsx
CHANGED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
name: 创建一个Bug
|
|
2
|
-
description: 描述一下这个Bug
|
|
3
|
-
labels:
|
|
4
|
-
- 'type: bug'
|
|
5
|
-
- needs-triage
|
|
6
|
-
body:
|
|
7
|
-
- type: markdown
|
|
8
|
-
attributes:
|
|
9
|
-
value: 感谢您的参与。如果您正在寻求帮助,请从[此处](https://github.com/imzbf/md-editor-v3/discussions)创建讨论。
|
|
10
|
-
- type: textarea
|
|
11
|
-
id: description
|
|
12
|
-
attributes:
|
|
13
|
-
label: 描述这个Bug
|
|
14
|
-
validations:
|
|
15
|
-
required: true
|
|
16
|
-
- type: input
|
|
17
|
-
id: version
|
|
18
|
-
attributes:
|
|
19
|
-
label: 版本号
|
|
20
|
-
description: 描述您的开发环境,例如编辑器、`nodejs`、浏览器的版本等。
|
|
21
|
-
validations:
|
|
22
|
-
required: true
|
|
23
|
-
- type: input
|
|
24
|
-
id: reproduction
|
|
25
|
-
attributes:
|
|
26
|
-
label: 问题重现链接
|
|
27
|
-
description: 如果您提供在线代码环境或代码存储库或代码的`zip`文件,它可以帮助我快速发现问题。
|
|
28
|
-
validations:
|
|
29
|
-
required: false
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
name: 功能建议
|
|
2
|
-
description: 为这个项目提供一个很棒的想法
|
|
3
|
-
labels:
|
|
4
|
-
- 'type: feature'
|
|
5
|
-
- needs-triage
|
|
6
|
-
body:
|
|
7
|
-
- type: markdown
|
|
8
|
-
attributes:
|
|
9
|
-
value: 感谢您的参与。
|
|
10
|
-
- type: textarea
|
|
11
|
-
id: description
|
|
12
|
-
attributes:
|
|
13
|
-
label: 一个很棒的想法
|
|
14
|
-
validations:
|
|
15
|
-
required: true
|