fix(core): Fix filtering logic for returning only tagged commits

This commit is contained in:
Philipp Kunz 2024-12-14 00:47:24 +01:00
parent d103778a75
commit 3502a661ea
3 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,10 @@
# Changelog # Changelog
## 2024-12-14 - 1.5.3 - fix(core)
Fix filtering logic for returning only tagged commits
- Ensure `allCommits` is filtered to only include commits with 'tagged' status before returning.
## 2024-12-14 - 1.5.2 - fix(core) ## 2024-12-14 - 1.5.2 - fix(core)
Ensure stability of core functionalities. Ensure stability of core functionalities.

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@foss.global/codefeed', name: '@foss.global/codefeed',
version: '1.5.2', version: '1.5.3',
description: 'a module for creating feeds for code development' description: 'a module for creating feeds for code development'
} }

View File

@ -286,6 +286,9 @@ export class CodeFeed {
Published on npm: ${c.publishedOnNpm} Published on npm: ${c.publishedOnNpm}
`); `);
} }
allCommits = allCommits.filter(commitArg => commitArg.tagged);
return allCommits; return allCommits;
} }
} }