fix(core): Force synchronize tag mappings also when no tag was updated (#19332)

This commit is contained in:
Irénée
2025-09-09 08:32:04 +01:00
committed by GitHub
parent 38a6140e79
commit e054fc71cd
2 changed files with 75 additions and 16 deletions

View File

@@ -326,11 +326,9 @@ export class SourceControlService {
});
}
const tagChanges = filesToPush.find((e) => e.type === 'tags');
if (tagChanges) {
filesToBePushed.add(tagChanges.file);
await this.sourceControlExportService.exportTagsToWorkFolder(context);
}
// The tags file is always re-generated and exported to make sure the workflow-tag mappings are up to date
filesToBePushed.add(getTagsPath(this.gitFolder));
await this.sourceControlExportService.exportTagsToWorkFolder(context);
const folderChanges = filesToPush.find((e) => e.type === 'folders');
if (folderChanges) {