File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,14 @@ function packFiles([string] $publishingPlatform)
57
57
$packageName = " sentry-unreal-$version -engine$engineVersion -$publishingPlatform .zip"
58
58
Write-Host " Creating a release package for Unreal $engineVersion as $packageName "
59
59
60
- $newPluginSpec = @ ($pluginSpec [0 .. 0 ]) + @ (' "EngineVersion" : "' + $engineVersion + ' .0",' ) + @ ($pluginSpec [1 .. ($pluginSpec.count )])
60
+ $newPluginSpec = $pluginSpec
61
+
62
+ # Add EngineVersion key only for marketplace package to avoid warnings in licensee versions of Unreal
63
+ # where github package is used (https://github.com/getsentry/sentry-unreal/issues/811)
64
+ if ($publishingPlatform -eq " marketplace" )
65
+ {
66
+ $newPluginSpec = @ ($pluginSpec [0 .. 0 ]) + @ (' "EngineVersion" : "' + $engineVersion + ' .0",' ) + @ ($pluginSpec [1 .. ($pluginSpec.count )])
67
+ }
61
68
62
69
# Handle platform name difference for UE 4.27
63
70
if ($engineVersion -eq " 4.27" )
@@ -94,4 +101,4 @@ function packFiles([string] $publishingPlatform)
94
101
}
95
102
96
103
packFiles(" github" )
97
- packFiles(" marketplace" )
104
+ packFiles(" marketplace" )
You can’t perform that action at this time.
0 commit comments