mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-18 05:15:09 +00:00
this fixes error when revel package creates tar without indicating that build had errors due to unhandled error
This commit is contained in:
@@ -86,7 +86,9 @@ func packageApp(c *model.CommandConfig) (err error) {
|
||||
}
|
||||
c.Build.TargetPath = tmpDir
|
||||
c.Build.CopySource = c.Package.CopySource
|
||||
buildApp(c)
|
||||
if err = buildApp(c); err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
// Create the zip file.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user