Skip to content

Commit

Permalink
VCI-128: Fix build project search
Browse files Browse the repository at this point in the history
  • Loading branch information
krankenbro committed Aug 20, 2021
1 parent 64152b7 commit 194ebd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
id: image
with:
projectType: "platform"
releaseBranch: "main"

- name: Add version suffix
if: ${{ github.ref != 'refs/heads/main' }}
Expand Down
2 changes: 1 addition & 1 deletion Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public static int Main(string[] args)
protected static AbsolutePath SamplesDirectory => RootDirectory / "samples";

protected AbsolutePath ModulesLocalDirectory => ArtifactsDirectory / ModulesJsonDirectoryName;
protected Project WebProject => Solution?.AllProjects.FirstOrDefault(x => x.Name.EndsWith(".Web") && !x.Path.ToString().Contains("samples") || x.Name.EndsWith("VirtoCommerce.Storefront"));
protected Project WebProject => Solution?.AllProjects.FirstOrDefault(x => x.Name.EndsWith(".Web") && !x.Path.ToString().Contains("samples") || x.Name.EndsWith("VirtoCommerce.Storefront") || x.Name.EndsWith("_build"));
protected AbsolutePath ModuleManifestFile => WebProject.Directory / "module.manifest";
protected AbsolutePath ModuleIgnoreFile => RootDirectory / "module.ignore";

Expand Down

0 comments on commit 194ebd0

Please sign in to comment.