diff --git a/changelog.md b/changelog.md index d5e5f03..34689a9 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # 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) Ensure stability of core functionalities. diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 62c2795..2276768 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@foss.global/codefeed', - version: '1.5.2', + version: '1.5.3', description: 'a module for creating feeds for code development' } diff --git a/ts/index.ts b/ts/index.ts index 43d533a..f476c46 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -286,6 +286,9 @@ export class CodeFeed { Published on npm: ${c.publishedOnNpm} `); } + + allCommits = allCommits.filter(commitArg => commitArg.tagged); + return allCommits; } } \ No newline at end of file