mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
fix(core): Force synchronize tag mappings also when no tag was updated (#19332)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user