Skip to content

Commit

Permalink
2.0.0 (#19)
Browse files Browse the repository at this point in the history
* VCI-128: Fix build project search

* VCI-128: Fix module manifest search
  • Loading branch information
krankenbro authored Aug 20, 2021
1 parent 64152b7 commit 66924a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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
4 changes: 2 additions & 2 deletions Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ 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 AbsolutePath ModuleManifestFile => WebProject.Directory / "module.manifest";
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";

protected Microsoft.Build.Evaluation.Project MSBuildProject => WebProject?.GetMSBuildProject();
Expand Down

0 comments on commit 66924a8

Please sign in to comment.