Skip to content

Commit

Permalink
UpToTagChangeSetFilter must be the first one to be executed.
Browse files Browse the repository at this point in the history
  • Loading branch information
filipelautert committed Jul 25, 2023
1 parent f183ba9 commit 49b650c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class ChangelogSyncCommandStep extends AbstractCommandStep {
private String tag = null;

static {
CommandBuilder builder = new CommandBuilder(COMMAND_NAME);
new CommandBuilder(COMMAND_NAME);
}

@Override
Expand Down Expand Up @@ -104,12 +104,12 @@ private ChangeLogIterator buildChangeLogIterator(String tag, DatabaseChangeLog c
} else {
List<RanChangeSet> ranChangeSetList = database.getRanChangeSetList();
return new ChangeLogIterator(changeLog,
new UpToTagChangeSetFilter(tag, ranChangeSetList),
new NotRanChangeSetFilter(database.getRanChangeSetList()),
new ContextChangeSetFilter(contexts),
new LabelChangeSetFilter(labelExpression),
new IgnoreChangeSetFilter(),
new DbmsChangeSetFilter(database),
new UpToTagChangeSetFilter(tag, ranChangeSetList));
new DbmsChangeSetFilter(database));
}
}

Expand Down

0 comments on commit 49b650c

Please sign in to comment.