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 {
207207 sprintf (" %s-%s.unitypackage" ,
208208 currentPluginBasename,
209209 pluginVersion))
210+ // Unversioned release plugin file.
211+ pluginReleaseFileUnversioned = new File (scriptDirectory,
212+ sprintf (" %s-latest.unitypackage" ,
213+ currentPluginBasename))
210214
211215 // Common arguments used to execute Unity in batch mode.
212216 unityBatchModeArguments = [" -batchmode" , " -nographics" ]
@@ -1290,6 +1294,11 @@ task releasePlugin(dependsOn: buildPlugin) {
12901294 into project. ext. pluginReleaseFile. parentFile
12911295 rename { src_filename -> project. ext. pluginReleaseFile. name }
12921296 }
1297+ copy {
1298+ from project. ext. pluginExportFile
1299+ into project. ext. pluginReleaseFileUnversioned. parentFile
1300+ rename { src_filename -> project. ext. pluginReleaseFileUnversioned. name }
1301+ }
12931302 delete fileTree(dir : project. ext. pluginExplodedDir)
12941303 copy {
12951304 from project. ext. pluginStagingAreaDir
You can’t perform that action at this time.
0 commit comments