mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-01-16 08:21:55 +00:00
update github release
This commit is contained in:
parent
971746ef6a
commit
38d6fb33a1
8
.github/scripts/get-changelog.js
vendored
Normal file → Executable file
8
.github/scripts/get-changelog.js
vendored
Normal file → Executable file
@ -25,11 +25,17 @@ if (!versionSection) {
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
// Extract content between this version and next version
|
||||
// Extract and format the changelog entries
|
||||
const lines = versionSection
|
||||
.split('\n')
|
||||
.slice(1) // Remove the version line itself
|
||||
.filter(line => line.trim().startsWith('- ')) // Only keep bullet points
|
||||
.join('\n')
|
||||
.trim();
|
||||
|
||||
if (!lines) {
|
||||
console.error('No bullet points found in changelog section');
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
console.log(lines);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user