Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit 91f87ed

Browse files
author
Jamie Brynes
authored
Correctly skip builds which are not marked as required (#1435)
1 parent 6927912 commit 91f87ed

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919

2020
- Upgrade to Worker SDK v14.7.0. [#1434](https://github.com/spatialos/gdk-for-unity/pull/1434)
2121

22+
### Fixed
23+
24+
- Build targets which are marked as 'Build', but not 'Required' are now properly skipped if build support is not installed. [#1435](https://github.com/spatialos/gdk-for-unity/pull/1435)
25+
2226
## `0.3.8` - 2020-07-20
2327

2428
### Breaking Changes

workers/unity/Packages/io.improbable.gdk.buildsystem/Configuration/BuildContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static List<BuildContext> GetBuildContexts(IEnumerable<string> wantedWork
5858
Debug.LogWarning(
5959
$"Skipping ({targetNames}) because build support is not installed in the Unity Editor and the build target is not marked as 'Required'.");
6060

61-
targetConfigs.RemoveAll(t => missingTargets.Contains(t));
61+
supportedTargets.RemoveAll(t => missingTargets.Contains(t));
6262
}
6363

6464
result.AddRange(supportedTargets.Select(targetConfig => new BuildContext

0 commit comments

Comments
 (0)