Skip to content

Commit

Permalink
Clone all projects in releases before filtering.
Browse files Browse the repository at this point in the history
  • Loading branch information
TwitchBronBron committed Sep 16, 2022
1 parent 1d196aa commit 9deae16
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/releases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ class Runner {

options.groups ??= [];

//clone all projects
console.log('Cloning projects');
for (const project of this.projects) {
this.cloneProject(project);
}

const projects = this.projects
//filter by group
.filter(x => options.groups.length === 0 || x?.groups?.find(g => options.groups.includes(g)))
Expand All @@ -29,12 +35,6 @@ class Runner {

console.log('Selected projects:', projects.map(x => x.name));

//clone all projects
console.log('Cloning projects');
for (const project of projects) {
this.cloneProject(project);
}

for (const project of projects) {
console.log('');
await this.processProject(project);
Expand Down

0 comments on commit 9deae16

Please sign in to comment.