File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,10 @@ project.ext {
207
207
sprintf (" %s-%s.unitypackage" ,
208
208
currentPluginBasename,
209
209
pluginVersion))
210
+ // Unversioned release plugin file.
211
+ pluginReleaseFileUnversioned = new File (scriptDirectory,
212
+ sprintf (" %s-latest.unitypackage" ,
213
+ currentPluginBasename))
210
214
211
215
// Common arguments used to execute Unity in batch mode.
212
216
unityBatchModeArguments = [" -batchmode" , " -nographics" ]
@@ -1290,6 +1294,11 @@ task releasePlugin(dependsOn: buildPlugin) {
1290
1294
into project. ext. pluginReleaseFile. parentFile
1291
1295
rename { src_filename -> project. ext. pluginReleaseFile. name }
1292
1296
}
1297
+ copy {
1298
+ from project. ext. pluginExportFile
1299
+ into project. ext. pluginReleaseFileUnversioned. parentFile
1300
+ rename { src_filename -> project. ext. pluginReleaseFileUnversioned. name }
1301
+ }
1293
1302
delete fileTree(dir : project. ext. pluginExplodedDir)
1294
1303
copy {
1295
1304
from project. ext. pluginStagingAreaDir
You can’t perform that action at this time.
0 commit comments