Skip to content

Commit c00bc4d

Browse files
author
Stewart Miles
committed
Added unversioned EDM package file to make it easier to download.
Change-Id: I75e863e2a6b4caafaa331cf10d3caa07b0d6b825
1 parent bd8b272 commit c00bc4d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff 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
Binary file not shown.

0 commit comments

Comments
 (0)