mirror of
https://gitea.com/Lydanne/pr-extract-issues.git
synced 2025-08-18 01:36:01 +08:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
1fd5a8721a | ||
![]() |
b08ec27ac5 | ||
![]() |
0ca412d0d2 | ||
![]() |
3a607d78a3 |
15
CHANGELOG.md
15
CHANGELOG.md
@@ -1,5 +1,20 @@
|
||||
<!--
|
||||
🐞 Bug fix
|
||||
🚀 New feature
|
||||
💄 Perf
|
||||
📝 Docs
|
||||
⚡️ Code style
|
||||
🛠 refactor
|
||||
-->
|
||||
|
||||
# Changelog
|
||||
|
||||
## v1.2.2
|
||||
|
||||
`2025.02.10`
|
||||
|
||||
- 🐞 fix: undefined body. [#27](https://github.com/actions-cool/pr-extract-issues/pull/27) [@middiu](https://github.com/middiu)
|
||||
|
||||
## v1.2.1
|
||||
|
||||
`2022.09.23`
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# 🤠 PR Extract Issues
|
||||
|
||||

|
||||

|
||||
[](https://github.com/marketplace/actions/pr-extract-issues)
|
||||
[](https://github.com/actions-cool/pr-extract-issues/releases)
|
||||
|
||||
|
26497
dist/index.js
vendored
26497
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -21,7 +21,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@umijs/fabric": "^2.5.6",
|
||||
"@vercel/ncc": "^0.27.0",
|
||||
"@vercel/ncc": "0.34.0",
|
||||
"chalk": "^4.1.2",
|
||||
"new-github-release-url": "^1.0.0",
|
||||
"open": "^7.3.0",
|
||||
|
@@ -31,7 +31,7 @@ function getChangelog(content) {
|
||||
}
|
||||
}
|
||||
}
|
||||
return changeLog.join('\n');
|
||||
return changeLog.join('\n\n');
|
||||
}
|
||||
|
||||
const changelogPath = path.join(__dirname, '..', CHANGELOG_NAME);
|
||||
|
@@ -27,7 +27,7 @@ async function run() {
|
||||
issues.push(it.replace('#', ''));
|
||||
}
|
||||
});
|
||||
} else if (way === 'body') {
|
||||
} else if (way === 'body' && body) {
|
||||
let arr = body.split('\n');
|
||||
arr.forEach(it => {
|
||||
if (it.startsWith('#')) {
|
||||
|
Reference in New Issue
Block a user