Skip to content

Commit cbaf8d0

Browse files
author
Burt Beckwith
committed
restored pluginZip since the release plugin depends on it
1 parent 65ef462 commit cbaf8d0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/_GrailsPluginDev.groovy

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,8 @@ target(packagePlugin: "Implementation target") {
102102
event("PackagePluginStart", [pluginInfo.name])
103103

104104
// Package plugin's zip or jar distribution
105-
String packagedFileName
106105
try {
107-
packagedFileName = packager.packagePlugin(pluginInfo.name, classesDir, grailsSettings.projectTargetDir)
106+
pluginZip = packager.packagePlugin(pluginInfo.name, classesDir, grailsSettings.projectTargetDir)
108107
}
109108
catch (e) {
110109
if (e.cause instanceof GrailsTagException) {
@@ -116,7 +115,7 @@ target(packagePlugin: "Implementation target") {
116115
exit 1
117116
}
118117

119-
grailsConsole.addStatus "Plugin packaged ${new File(packagedFileName).name}"
118+
grailsConsole.addStatus "Plugin packaged ${new File(pluginZip).name}"
120119

121120
event("PackagePluginEnd", [pluginInfo.name])
122121
}

0 commit comments

Comments
 (0)