diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aa12016..62e50b9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,6 +49,7 @@ jobs: id: image with: projectType: "platform" + releaseBranch: "main" - name: Add version suffix if: ${{ github.ref != 'refs/heads/main' }} diff --git a/Build.cs b/Build.cs index 4f90403..d0c72be 100644 --- a/Build.cs +++ b/Build.cs @@ -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";