Skip to content

Commit

Permalink
Skip all non arm packages when packing packages from feature/v4 (Azur…
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenkuttappan authored Aug 6, 2021
1 parent a716a21 commit 3b51a6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .scripts/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ function isPackageFolderPath(folderPath: string, packagesToIgnore: string[]): bo
const packageJsonFilePath: string = joinPath(folderPath, "package.json");
if (fileExistsSync(packageJsonFilePath)) {
const packageJson: PackageJson = readPackageJsonFileSync(packageJsonFilePath);
// Skip all perf framework projects from gulp pack
if (packageJson?.name?.startsWith("@azure-tests/")) {
// Skip all packages other than track1 arm packages by gulp script in feature/v4 branch
if (!packageJson?.name?.startsWith("@azure/arm-")) {
return false;
}
result = !contains(packagesToIgnore, packageJson.name!);
Expand Down

0 comments on commit 3b51a6e

Please sign in to comment.